commit | 553fe05f236f46fe27b7fcfa822b06367d50183e | [log] [tgz] |
---|---|---|
author | Andrew Trick <atrick@apple.com> | Wed Nov 30 06:07:54 2011 +0000 |
committer | Andrew Trick <atrick@apple.com> | Wed Nov 30 06:07:54 2011 +0000 |
tree | 8bfd02d9690492145f9ffe5c30ff1a132c9d3db4 | |
parent | caebb1e00b28226597b53371751391c50aa0283b [diff] |
LSR: handle the expansion of phi operands that use postinc forms of the IV. Fixes PR11431: SCEVExpander::expandAddRecExprLiterally(const llvm::SCEVAddRecExpr*): Assertion `(!isa<Instruction>(Result) || SE.DT->dominates(cast<Instruction>(Result), Builder.GetInsertPoint())) && "postinc expansion does not dominate use"' failed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145482 91177308-0d34-0410-b5e6-96231b3b80d8