nvptx.opt (moptimize): New flag.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 10 Nov 2015 22:29:20 +0000 (22:29 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 10 Nov 2015 22:29:20 +0000 (22:29 +0000)
commitdba619f37006f8f2167c2043c67c22ccb3f068de
tree4d8aa25bda4264384e5efa0e86fbc730d2ffa9e9
parent43ee07b7c0823168ab5ddb81250f13b8de7bc474
nvptx.opt (moptimize): New flag.

* config/nvptx/nvptx.opt (moptimize): New flag.
* config/nvptx/nvptx.c (nvptx_option_override): Set nvptx_optimize
default.
(nvptx_optimize_inner): New.
(nvptx_process_pars): Call it when optimizing.
* doc/invoke.texi (Nvidia PTX Options): Document -moptimize.

From-SVN: r230137
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
gcc/config/nvptx/nvptx.opt
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog