gtbercea marked 2 inline comments as done.
gtbercea added inline comments.

================
Comment at: lib/Frontend/CompilerInvocation.cpp:2167-2172
+    // Set the flag to prevent the implementation from emitting device 
exception
+    // handling code for those requiring so.
+    if (Opts.OpenMPIsDevice && T.isNVPTX()) {
+      Opts.Exceptions = 0;
+      Opts.CXXExceptions = 0;
+    }
----------------
gtbercea wrote:
> ABataev wrote:
> > I'm not sure this is the right place for this code.
> Alexey, any suggestion where this code should be moved to?
Alexey, this code is in the function that initializes Opts.Exceptions and 
Opts.CXXExceptions and comes after that initialization so the options are not 
being overwritten by it.


Repository:
  rL LLVM

https://reviews.llvm.org/D29904



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

Reply via email to