commit | 82ef54d4b01246cf365141c3ac2807171215ff2b | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Wed Mar 30 21:12:06 2016 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Wed Mar 30 21:12:06 2016 +0000 |
tree | d721c5f529dfe90eea34645d9d5178530dbe0d34 | |
parent | 5fa9211ba4ccbb938b6ee5b30c00c900537148d3 [diff] |
[IndVarSimplify] Don't insert after a catchswitch Widening a PHI requires us to insert a trunc. The logical place for this trunc is in the same BB as the PHI. This is not possible if the BB is terminated by a catchswitch. This fixes PR27133. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264926 91177308-0d34-0410-b5e6-96231b3b80d8