Add some cases to x86 OptimizeCompare to handle DEC and INC, too.
authorJan Wen Voung <jvoung@google.com>
Mon, 17 Sep 2012 22:04:23 +0000 (22:04 +0000)
committerJan Wen Voung <jvoung@google.com>
Mon, 17 Sep 2012 22:04:23 +0000 (22:04 +0000)
commitb024b7014ad13d076cfc3eb2d63c49681ad1bdd0
tree76f352c12f6fc43748b2d31abd63a5080ca9e751
parent566540332f6fe59e6424dd0d9a06a29e6f19f790
Add some cases to x86 OptimizeCompare to handle DEC and INC, too.

While we are setting the earlier def to true, also make it live.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164056 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/jump_sign.ll