Skip to content
Commit cd83870f authored by Dan Gohman's avatar Dan Gohman
Browse files

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
parent 8770d3d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment