[PATCH] D45743: [Polly] Print executed statement instances at runtime.

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 19 15:21:15 PDT 2018


Meinersbur added inline comments.


================
Comment at: include/polly/CodeGen/RuntimeDebugBuilder.h:36
+                                         llvm::StringRef Str) {
+    return Builder.CreateGlobalStringPtr(Str, "", 4);
+  }
----------------
philip.pfaffe wrote:
> Why AddressSpace=4?
I don't know, this is refactored from the existing RuntimeDebugBuilderCode, and is the reason why I refactored it out instead of calling `CreateGlobalStringPtr` directly.

I assume this puts string constants into the `.rodata` segment, but I didn't care enough to look it up.


Repository:
  rPLO Polly

https://reviews.llvm.org/D45743





More information about the llvm-commits mailing list