diff options
author | Owen Anderson <resistor@mac.com> | 2010-08-31 07:36:34 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-08-31 07:36:34 +0000 |
commit | cb21190cbd8ae1aece5b833ebe3814ada4260627 (patch) | |
tree | 2c1900df1e4b4322f18db3d1f99abae89308480e /lib/CodeGen/MachineFunction.cpp | |
parent | 4a295d301d83f07ad2840abe25a1691aef481c83 (diff) |
More Chris-inspired JumpThreading fixes: use ConstantExpr to correctly constant-fold undef, and be more careful with its return value.
This actually exposed an infinite recursion bug in ComputeValueKnownInPredecessors which theoretically already existed (in JumpThreading's
handling of and/or of i1's), but never manifested before. This patch adds a tracking set to prevent this case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions