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

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 10 14:53:51 PDT 2019


yaxunl marked an inline comment as done.
yaxunl added inline comments.


================
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">;
 
----------------
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


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

https://reviews.llvm.org/D68823





More information about the cfe-commits mailing list