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

Jan Vesely via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 1 13:59:29 PDT 2016


jvesely added a subscriber: jvesely.

================
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]>,
----------------
It'd be nice if you added cl-no-signed-zeros since it's mentioned here


Repository:
  rL LLVM

http://reviews.llvm.org/D21031





More information about the cfe-commits mailing list