ahatanak added inline comments.

================
Comment at: lib/CodeGen/CodeGenModule.cpp:516
+      llvm::LLVMContext &Ctx = TheModule.getContext();
+      llvm::Type *Int32Ty = llvm::Type::getInt32Ty(Ctx);
+      // SPIR v2.0 s2.12 - The SPIR version used by the module is stored in the
----------------
CodeGenTypeCache (CodeGenModule's base class) has member Int32Ty, so I don't 
think you need to call getInt32Ty here?


https://reviews.llvm.org/D34235



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

Reply via email to