diff options
| author | Dan Gohman <gohman@apple.com> | 2010-07-26 18:28:14 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-07-26 18:28:14 +0000 |
| commit | cd83870faf57a79044d76ec54811691e30e4e952 (patch) | |
| tree | 6ea5ae265b7b084099d17000d357b33878ca2f82 /clang | |
| parent | 8770d3d367b8e31012e4bcaf296da1259fcf1ad7 (diff) | |
| download | bcm5719-llvm-cd83870faf57a79044d76ec54811691e30e4e952.tar.gz bcm5719-llvm-cd83870faf57a79044d76ec54811691e30e4e952.zip | |
Fix SCEVExpander::visitAddRecExpr so that it remembers the induction variable
it inserted rather than using LoopInfo::getCanonicalInductionVariable to
rediscover it, since that doesn't work on non-canonical loops. This fixes
infinite recurrsion on such loops; PR7562.
llvm-svn: 109419
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions

