Currently llvm assembler emits parsing error for valid IR assembly
alloca i32, i32 9, addrspace(5)
when alloca addr space is 5.
This patch fixes that.
Paths
| Differential D38713
Fix assembler for alloca of multiple elements in non-zero addr space ClosedPublic Authored by yaxunl on Oct 9 2017, 8:12 PM.
Details Summary Currently llvm assembler emits parsing error for valid IR assembly alloca i32, i32 9, addrspace(5) when alloca addr space is 5. This patch fixes that.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Oct 12 2017, 7:32 PM Closed by commit rL315791: Fix assembler for alloca of multiple elements in non-zero addr space (authored by yaxunl). · Explain WhyOct 13 2017, 8:23 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 118307 lib/AsmParser/LLParser.cpp
test/Assembler/alloca-addrspace-elems.ll
|