[PATCH] D11051: Extend LICM to hoist loop invariant GEP out
Andrew Trick
atrick at apple.com
Tue Jul 28 11:00:41 PDT 2015
atrick added a comment.
If you need to do this transformation is cases where the inbounds flag will be dropped it seems best to do it late in the pipeline (maybe even after LSR) as a target-controlled optimization. Arranging for the hoisting to happen seems like the easy part of this problem.
Out of curiosity, I wonder if the LSR fix here http://reviews.llvm.org/D11212 has any impact on this test case.
Repository:
rL LLVM
http://reviews.llvm.org/D11051
More information about the llvm-commits
mailing list