[PATCH] D23361: [OpenCL] AMDGCN: Fix size_t type

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 16 13:49:55 PDT 2016


arsenm added inline comments.

================
Comment at: lib/CodeGen/CodeGenModule.h:664
@@ +663,3 @@
+  /// Get integer type of the same size as a pointer type.
+  llvm::IntegerType *getIntPtrTy(llvm::PointerType *PT);
+
----------------
This has the same purpose as DataLayout::getIntPtrType, should probably just use that


https://reviews.llvm.org/D23361





More information about the cfe-commits mailing list