Add support for using the FLAGS result of or, xor, and and instructions
authorDan Gohman <gohman@apple.com>
Fri, 18 Sep 2009 19:59:53 +0000 (19:59 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 18 Sep 2009 19:59:53 +0000 (19:59 +0000)
commite220c4b3d97bbdc9f6e8cf040942514612349c41
treea3bf7029b426ca3c6c29ba626b0842677bb13ae3
parenta2dc2825fc4474f9e1abe865100202c9104944d1
Add support for using the FLAGS result of or, xor, and and instructions
on x86, to avoid explicit test instructions. A few existing tests changed
due to arbitrary register allocation differences.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82263 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td
test/CodeGen/X86/2008-10-16-SpillerBug.ll
test/CodeGen/X86/peep-test-3.ll [new file with mode: 0644]
test/CodeGen/X86/stack-color-with-reg.ll