Generate something sensible for an [SU]ADDO op when the overflow/carry flag is
the conditional for the BRCOND statement. For instance, it will generate:
addl %eax, %ecx
jo LOF
instead of
addl %eax, %ecx
; About 10 instructions to compare the signs of LHS, RHS, and sum.
jl LOF
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60123 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h
index cf8be96..a0e0124 100644
--- a/lib/Target/X86/X86InstrInfo.h
+++ b/lib/Target/X86/X86InstrInfo.h
@@ -41,9 +41,11 @@
COND_NO = 10,
COND_NP = 11,
COND_NS = 12,
- COND_O = 13,
- COND_P = 14,
- COND_S = 15,
+ COND_NC = 13,
+ COND_O = 14,
+ COND_P = 15,
+ COND_S = 16,
+ COND_C = 17,
// Artificial condition codes. These are used by AnalyzeBranch
// to indicate a block terminated with two conditional branches to