Use a total ordering to compare instructions.
authorNick Lewycky <nicholas@mxc.ca>
Wed, 20 Sep 2006 17:04:01 +0000 (17:04 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 20 Sep 2006 17:04:01 +0000 (17:04 +0000)
commit406fc0cb49e1255d2caea1b943dd17bd4dda775d
tree33be285103a4096c76635345c55fe3d74a430e87
parent4563326472b000ee501a99f19b912bf9ca134b1f
Use a total ordering to compare instructions.
Fixes infinite loop in resolve().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30540 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/PredicateSimplifier.cpp
test/Transforms/PredicateSimplifier/2006-09-20-ResolveCycle.ll [new file with mode: 0644]