[llvm-commits] [llvm] r63954 - /llvm/branches/Apple/Dib/lib/Target/X86/X86ISelLowering.cpp
Bill Wendling
isanbard at gmail.com
Fri Feb 6 11:20:57 PST 2009
Author: void
Date: Fri Feb 6 13:20:56 2009
New Revision: 63954
URL: http://llvm.org/viewvc/llvm-project?rev=63954&view=rev
Log:
Fix hopefully the last merge error.
Modified:
llvm/branches/Apple/Dib/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/branches/Apple/Dib/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/lib/Target/X86/X86ISelLowering.cpp?rev=63954&r1=63953&r2=63954&view=diff
==============================================================================
--- llvm/branches/Apple/Dib/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/branches/Apple/Dib/lib/Target/X86/X86ISelLowering.cpp Fri Feb 6 13:20:56 2009
@@ -5420,16 +5420,6 @@
addTest = false;
break;
}
- } else if (Cond.hasOneUse() && isXor1OfSetCC(Cond)) {
- // Recognize for xorb (setcc), 1 patterns. The xor inverts the condition.
- // It should be transformed during dag combiner except when the condition
- // is set by a arithmetics with overflow node.
- X86::CondCode CCode =
- (X86::CondCode)Cond.getOperand(0).getConstantOperandVal(0);
- CCode = X86::GetOppositeBranchCondition(CCode);
- CC = DAG.getConstant(CCode, MVT::i8);
- Cond = Cond.getOperand(0).getOperand(1);
- addTest = false;
}
} else {
unsigned CondOpc;
More information about the llvm-commits
mailing list