[SelectionDAG] Fix bad indentation. NFC
authorCraig Topper <craig.topper@intel.com>
Sun, 28 Oct 2018 21:24:20 +0000 (21:24 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 28 Oct 2018 21:24:20 +0000 (21:24 +0000)
llvm-svn: 345481

llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

index 23abbf1..9a27cf3 100644 (file)
@@ -4392,10 +4392,10 @@ SDValue SelectionDAG::FoldConstantArithmetic(unsigned Opcode, const SDLoc &DL,
     SDValue V2 = BV2->getOperand(I);
 
     if (SVT.isInteger()) {
-        if (V1->getValueType(0).bitsGT(SVT))
-          V1 = getNode(ISD::TRUNCATE, DL, SVT, V1);
-        if (V2->getValueType(0).bitsGT(SVT))
-          V2 = getNode(ISD::TRUNCATE, DL, SVT, V2);
+      if (V1->getValueType(0).bitsGT(SVT))
+        V1 = getNode(ISD::TRUNCATE, DL, SVT, V1);
+      if (V2->getValueType(0).bitsGT(SVT))
+        V2 = getNode(ISD::TRUNCATE, DL, SVT, V2);
     }
 
     if (V1->getValueType(0) != SVT || V2->getValueType(0) != SVT)