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

Liu, Yaxun (Sam) via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 5 11:27:34 PDT 2016


We will add it. Thanks.

Sam

-----Original Message-----
From: Jan Vesely [mailto:jan.vesely at rutgers.edu] 
Sent: Friday, July 1, 2016 4:59 PM
To: Shi, Aaron (en ye) <Aaronenye.Shi at amd.com>; anastasia.stulova at arm.com
Cc: jan.vesely at rutgers.edu; nhaustov at gmail.com; richard at metafoo.co.uk; alexey.bader at intel.com; xiulipan at outlook.com; cfe-commits at lists.llvm.org; Liu, Yaxun (Sam) <Yaxun.Liu at amd.com>
Subject: Re: [PATCH] D21031: [OpenCL] Allow -cl-std and other standard -cl- options in driver

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