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)
commit4ce1d7b4f14f117b70c781a3bfcab647c02b697b
tree26e8b1fe8716b13b3755d140d9b4d026fe514647
parentf90e2435ba8e4a6ad6db34daa54bd8fcd0910c54
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.

llvm-svn: 164056
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/test/CodeGen/X86/jump_sign.ll