[PATCH] D41832: LLParser: add an argument for overriding data layout and do not check alloca addr space

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 10:43:31 PST 2018


yaxunl added inline comments.


================
Comment at: lib/CodeGen/MIRParser/MIRParser.cpp:240
     M = parseAssembly(MemoryBufferRef(BSN->getValue(), Filename), Error,
-                      Context, &IRSlots);
+                      Context, &IRSlots, false);
     if (!M) {
----------------
aprantl wrote:
> Perhaps comment what false means?
will add /*UpgradeDebugInfo=*/. This is used only by llc, so it is OK to do so since we upgrade debug info explicitly later.


https://reviews.llvm.org/D41832





More information about the llvm-commits mailing list