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

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 31 14:40:13 PDT 2016


jlebar updated this revision to Diff 52292.
jlebar added a comment.

Address tra's review comments.

I also decided no longer to turn this on when -menable-unsafe-fp-math is on:
That's a cc1 flag that's implied by various clang flags, but now ftz is a clang
flag, so turning it on implicitly didn't make a ton of sense to me.


http://reviews.llvm.org/D18671

Files:
  include/clang/Basic/LangOptions.def
  include/clang/Driver/Options.td
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CodeGenModule.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGenCUDA/flush-denormals.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18671.52292.patch
Type: text/x-patch
Size: 4702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160331/1d20dbd1/attachment.bin>


More information about the cfe-commits mailing list