Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-20 | LSR: teach isSimplifiedLoopNest to handle PHI IVUsers. | Andrew Trick | |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153132 91177308-0d34-0410-b5e6-96231b3b80d8 | |||
2012-03-20 | LSR: fix IVUsers isSimplifiedLoopNest to perform a full domtree walk | Andrew Trick | |
instead of skipping the current loop. My prior fix was incomplete because of an overzealous compile-time optimization: Better fix for: <rdar://problem/11049788> Segmentation fault: 11 in LoopStrengthReduce git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153131 91177308-0d34-0410-b5e6-96231b3b80d8 | |||
2012-03-16 | LSR fix: Add isSimplifiedLoopNest to IVUsers analysis. | Andrew Trick | |
Only record IVUsers that are dominated by simplified loop headers. Otherwise SCEVExpander will crash while looking for a preheader. I previously tried to work around this in LSR itself, but that was insufficient. This way, LSR can continue to run if some uses are not in simple loops, as long as we don't attempt to analyze those users. Fixes <rdar://problem/11049788> Segmentation fault: 11 in LoopStrengthReduce git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152892 91177308-0d34-0410-b5e6-96231b3b80d8 |