commit | f6832bbda08b6975caa264de183bf3ee1d472aca | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Thu Apr 14 21:35:50 2011 +0000 |
committer | Owen Anderson <resistor@mac.com> | Thu Apr 14 21:35:50 2011 +0000 |
tree | c68ce481543c526392f0af9048788eb165ef6782 | |
parent | 481823aa819ea1dd25567ae616dca93056ef770a [diff] |
Fix an infinite alternation in JumpThreading where two transforms would repeatedly undo each other. The solution is to perform more aggressive constant folding to make one of the edges just folded away rather than trying to thread it. Fixes <rdar://problem/9284786>. Discovered with CSmith. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129538 91177308-0d34-0410-b5e6-96231b3b80d8