tra added inline comments.

================
Comment at: lib/CodeGen/CodeGenModule.cpp:1880
@@ +1879,3 @@
+    // Conservatively, mark all functions in CUDA as convergent (meaning, they
+    // may call an intrinsicly convergent op, such as __syncthreads(), and so
+    // can't have certain optimizations applied around them).  LLVM will remove
----------------
intrinsically?

================
Comment at: test/CodeGenCUDA/convergent.cu:4
@@ +3,3 @@
+
+// RUN: %clang_cc1 -fcuda-is-device -triple nvptx-nvidia-cuda -emit-llvm \
+// RUN:   -o - %s | FileCheck -check-prefix DEVICE %s
----------------
You may want to add -disable-llvm-passes to make sure you're checking results 
of front-end actions only.


http://reviews.llvm.org/D17056



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

Reply via email to