[PATCH] D18671: [CUDA] Add --cuda-flush-denormals-to-zero.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 31 15:38:57 PDT 2016


jlebar marked an inline comment as done.

================
Comment at: include/clang/Driver/Options.td:385
@@ -384,1 +384,3 @@
   HelpText<"CUDA installation path">;
+def fcuda_flush_denormals_to_zero : Flag<["-"], "fcuda-flush-denormals-to-zero">,
+  Group<f_Group>, Flags<[CC1Option]>,
----------------
rnk wrote:
> rnk wrote:
> > Let's stick with the long descriptive name for now.
> Personally I would add an -fno variant, and add code to the driver that conditionally forwards the flag to cc1.
OK, added an -fno variant.  But it seems simpler to pass both the -f flag and -fno flag to cc1 and let it figure things out?  lmk what you think.


http://reviews.llvm.org/D18671





More information about the cfe-commits mailing list