]> granicus.if.org Git - llvm/commitdiff
less braces; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 5 Jan 2017 16:47:32 +0000 (16:47 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 5 Jan 2017 16:47:32 +0000 (16:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291126 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 5e2022a7ff24913cac690c1df871ed4ef308f72f..f52c0faf4a8b01ae50bffd2f7a7d6e6b4894100f 100644 (file)
@@ -16985,10 +16985,9 @@ SDValue X86TargetLowering::LowerSELECT(SDValue Op, SelectionDAG &DAG) const {
     return DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, VT, newSelect, zeroConst);
   }
 
-  if (Cond.getOpcode() == ISD::SETCC) {
+  if (Cond.getOpcode() == ISD::SETCC)
     if (SDValue NewCond = LowerSETCC(Cond, DAG))
       Cond = NewCond;
-  }
 
   // (select (x == 0), -1, y) -> (sign_bit (x - 1)) | y
   // (select (x == 0), y, -1) -> ~(sign_bit (x - 1)) | y