[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:14:37 PST 2018
yaxunl updated this revision to Diff 131991.
yaxunl retitled this revision from "LLParser: do not verify LLVM module" to "LLParser: add an argument for overriding data layout and do not check alloca addr space".
yaxunl edited the summary of this revision.
yaxunl added a comment.
Revised as discussed with Adrian.
It is even simpler than discussed since ParseIRFile etc. already have an argument to disable updating debug info. Therefore no new functions need to be added. Only need to add an argument for overriding data layout.
https://reviews.llvm.org/D41832
Files:
include/llvm/AsmParser/Parser.h
include/llvm/IRReader/IRReader.h
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/AsmParser/Parser.cpp
lib/CodeGen/MIRParser/MIRParser.cpp
lib/IRReader/IRReader.cpp
test/Assembler/datalayout-alloca-addrspace-mismatch-0.ll
test/Assembler/datalayout-alloca-addrspace-mismatch-1.ll
test/Assembler/datalayout-alloca-addrspace-mismatch-2.ll
test/Assembler/drop-debug-info-nonzero-alloca.ll
test/CodeGen/AMDGPU/alloca.ll
test/CodeGen/AMDGPU/fence-barrier.ll
test/CodeGen/AMDGPU/invalid-alloca.ll
test/CodeGen/AMDGPU/sched-crash-dbg-value.mir
tools/llc/llc.cpp
tools/llvm-as/llvm-as.cpp
tools/opt/opt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41832.131991.patch
Type: text/x-patch
Size: 31667 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180130/5052f31e/attachment.bin>
More information about the llvm-commits
mailing list