ABataev added inline comments.

================
Comment at: lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp:51-52
@@ +50,4 @@
+
+  // just emit the statements in the teams region, no need for outlining
+  CGF.EmitStmt(cast<CapturedStmt>(D.getAssociatedStmt())->getCapturedStmt());
+}
----------------
This will cause a crash for captured global variables. Emit as inlined directive


Repository:
  rL LLVM

http://reviews.llvm.org/D17963



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

Reply via email to