remove the (x-y) < 0 comparison xform, it miscompiles
authorChris Lattner <sabre@nondot.org>
Sat, 5 Jan 2008 01:18:20 +0000 (01:18 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 5 Jan 2008 01:18:20 +0000 (01:18 +0000)
commitb656601943b2f1a76ee93fc3767de2ea75694672
tree41583c62138e241d3fc3dead44ad3514182d6ec8
parenta393cd3306b865e8e5d82dc4e6cfabcdf5d8dc44
remove the (x-y) < 0 comparison xform, it miscompiles
things that are not equality comparisons, for example:
   (2147479553+4096)-2147479553 < 0    !=   (2147479553+4096) < 2147479553

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45612 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp