[PATCH] D21031: [OpenCL] Allow -cl-std and other standard -cl- options in driver

Aaron En Ye Shi via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 7 14:54:23 PDT 2016


ashi1 marked an inline comment as done.

================
Comment at: cfe/trunk/include/clang/Driver/Options.td:381
@@ +380,3 @@
+def cl_unsafe_math_optimizations : Flag<["-"], "cl-unsafe-math-optimizations">, Group<opencl_Group>, Flags<[CC1Option]>,
+  HelpText<"OpenCL only. Allow unsafe floating-point optimizations.  Also implies -cl-no-signed-zeros and -cl-mad-enable.">;
+def cl_fast_relaxed_math : Flag<["-"], "cl-fast-relaxed-math">, Group<opencl_Group>, Flags<[CC1Option]>,
----------------
jvesely wrote:
> It'd be nice if you added cl-no-signed-zeros since it's mentioned here
Can you review http://reviews.llvm.org/D22067 ? Thanks


Repository:
  rL LLVM

http://reviews.llvm.org/D21031





More information about the cfe-commits mailing list