SROA knows that it can look through addrspacecast but
PromoteMemoryToRegister did not handle them. This caused an assertion
error for the test case, exposed while running
Transforms/PhaseOrdering/inlining-alignment-assumptions.ll with D83978
applied.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
This is also covered by SROA tests, should this go in test/Mem2Reg