More typo's. I need new eye glasses...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 13 Jan 2006 01:17:24 +0000 (01:17 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 13 Jan 2006 01:17:24 +0000 (01:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25261 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 1970e8180adbaf16c523b09dbcf6e1c1b0908540..9ed8c16745412dcef379a549305debe1846803fd 100644 (file)
@@ -1582,12 +1582,11 @@ SDOperand X86TargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) {
       // If the X86ISD::SETCC has more than one use, then it's probably better
       // to use a test instead of duplicating the X86ISD::CMP (for register
       // pressure reason).
-      if (Cond.hasOneUse() && Cond.getOperand(1).getOpcode() == X86ISD::CMP) {
+      if (Op0.hasOneUse() && Op0.getOperand(1).getOpcode() == X86ISD::CMP) {
         CC   = Op0.getOperand(0);
         Cond = Op0.getOperand(1);
         addTest =
-          !(isFPStack &&
-            !hasFPCMov(cast<ConstantSDNode>(CC)->getSignExtended()));
+          isFPStack && !hasFPCMov(cast<ConstantSDNode>(CC)->getSignExtended());
       } else
         addTest = true;
     } else if (Op0.getOpcode() == ISD::SETCC) {