OSDN Git Service

Fix two bugs: one where a condition was mistakenly swapped, and another
authorChris Lattner <sabre@nondot.org>
Mon, 27 Sep 2004 19:29:18 +0000 (19:29 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 27 Sep 2004 19:29:18 +0000 (19:29 +0000)
commit83c4ec0372ea689bdc842cc57c9f599eb92fba14
tree5d28262e9df50bd5e7bfcd6e163cc3fe0e180c77
parentdffb4455035df1445891b7d6a657f4ccbb67ab0c
Fix two bugs: one where a condition was mistakenly swapped, and another
where we folded (X & 254) -> X < 1 instead of X < 2.  These problems were
latent problems exposed by the latest patch.

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