aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86ISelLowering.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-18 19:59:53 +0000
committerDan Gohman <gohman@apple.com>2009-09-18 19:59:53 +0000
commite220c4b3d97bbdc9f6e8cf040942514612349c41 (patch)
treea3bf7029b426ca3c6c29ba626b0842677bb13ae3 /lib/Target/X86/X86ISelLowering.h
parenta2dc2825fc4474f9e1abe865100202c9104944d1 (diff)
downloadexternal_llvm-e220c4b3d97bbdc9f6e8cf040942514612349c41.zip
external_llvm-e220c4b3d97bbdc9f6e8cf040942514612349c41.tar.gz
external_llvm-e220c4b3d97bbdc9f6e8cf040942514612349c41.tar.bz2
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
Diffstat (limited to 'lib/Target/X86/X86ISelLowering.h')
-rw-r--r--lib/Target/X86/X86ISelLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.h b/lib/Target/X86/X86ISelLowering.h
index 021797e..beb9ec3 100644
--- a/lib/Target/X86/X86ISelLowering.h
+++ b/lib/Target/X86/X86ISelLowering.h
@@ -237,7 +237,7 @@ namespace llvm {
// ADD, SUB, SMUL, UMUL, etc. - Arithmetic operations with FLAGS results.
ADD, SUB, SMUL, UMUL,
- INC, DEC,
+ INC, DEC, OR, XOR, AND,
// MUL_IMM - X86 specific multiply by immediate.
MUL_IMM,