Details
Diff Detail
Event Timeline
Addressed review comments.
llvm/test/Transforms/SROA/select-gep.ll | ||
---|---|---|
18 | It may increase instruction count, but if it will remain after SROA there is a pattern in InstCombine to revert it back. That is actually the reason why D79145 was over complicated and I have switched to processing it right in SROA. |
llvm/lib/Transforms/Scalar/SROA.cpp | ||
---|---|---|
3509 | Early exit if not select and reduce indentation |
llvm/lib/Transforms/Scalar/SROA.cpp | ||
---|---|---|
3509 | I will extract it into a separate function, here and in another patch. |
llvm/lib/Transforms/Scalar/SROA.cpp | ||
---|---|---|
3480 | The inbounds vs. noninbounds paths aren't stressed in the test |
Probably should check there are only constant indexes?