[PATCH] D33688: [Polly] Heap allocation for new arrays

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 09:10:02 PDT 2017


philip.pfaffe added inline comments.


================
Comment at: lib/CodeGen/IslNodeBuilder.cpp:1424
+      // Get the 'int' pointer
+      auto IntPtrTy = Type::getInt64Ty(Ctx);
+
----------------
simbuerg wrote:
> Question for my own understanding: We can pin this to 64bits only if we know which malloc implementation we have available on the target machine, right?
Why not get the real IntPtrTy from the current DataLayout?


https://reviews.llvm.org/D33688





More information about the llvm-commits mailing list