Fix PR3874 by restoring a condition I removed, but making it more
authorChris Lattner <sabre@nondot.org>
Wed, 25 Mar 2009 00:28:58 +0000 (00:28 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 25 Mar 2009 00:28:58 +0000 (00:28 +0000)
commite8e4921967994726e2e64c9906e23fec52f00cf7
tree55131c127aece37955a17b639adc90b94f72b6f4
parent86bda4174a90eff1305e51b0407a47a8dcecbe7b
Fix PR3874 by restoring a condition I removed, but making it more
precise than it used to be.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67662 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/2009-03-24-InfLoop.ll [new file with mode: 0644]