SROA assumes alloca address space is 0, which causes assertion. This patch fixes that.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D34104
[SROA] Fix APInt size when alloca address space is not 0 ClosedPublic Authored by yaxunl on Jun 12 2017, 7:52 AM.
Details Summary SROA assumes alloca address space is 0, which causes assertion. This patch fixes that.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jun 27 2017, 10:42 AM Closed by commit rL306440: [SROA] Fix APInt size when alloca address space is not 0 (authored by yaxunl). · Explain WhyJun 27 2017, 11:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 102194 lib/Transforms/Scalar/SROA.cpp
test/Transforms/SROA/address-spaces.ll |
I think this test should be left as is. Versions of this test with the non-0 alloca addrspace belong in a separate test file