[PATCH] D68823: Fix help message for -ffp-contract

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 10 15:12:26 PDT 2019


tra accepted this revision.
tra added inline comments.
This revision is now accepted and ready to land.


================
Comment at: include/clang/Driver/Options.td:1148
+  " | on (according to FP_CONTRACT pragma) | off (never fuse). Default"
+  " is 'fast' for CUDA/HIP and 'on' otherwise.">, Values<"fast,on,off">;
 
----------------
yaxunl wrote:
> tra wrote:
> > Could you point me where we set it? I'm having trouble finding the code that controls it for CUDA.
> https://github.com/llvm-mirror/clang/blob/dea3d1b9fed4a2c2ede2976abc2baba61bd85ac2/lib/Frontend/CompilerInvocation.cpp#L2295
Thank you. LGTM.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68823/new/

https://reviews.llvm.org/D68823





More information about the cfe-commits mailing list