yaxunl added inline comments.

================
Comment at: cfe/trunk/include/clang/Basic/LangOptions.def:220
+/// \brief FP_CONTRACT mode (on/off/fast).
+ENUM_LANGOPT(DefaultFPContractMode, FPContractModeKind, 2, FPC_Off, "FP 
contraction type")
 LANGOPT(NoBitFieldTypeAlign , 1, 0, "bit-field type alignment")
----------------
This change seemed to cause some performance degradations in some OpenCL 
applications.

This option used to be on by default. Now it is off by default.

There are applications do separated compile/link/codegen stages. In the codegen 
stage, clang is invoked with .bc as input, therefore this option is off by 
default, whereas it was on by default before this change.

Is there any reason not to keep the original behavior?

Thanks.


Repository:
  rL LLVM

https://reviews.llvm.org/D31167



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to