[llvm] r345481 - [SelectionDAG] Fix bad indentation. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 28 14:24:20 PDT 2018
Author: ctopper
Date: Sun Oct 28 14:24:20 2018
New Revision: 345481
URL: http://llvm.org/viewvc/llvm-project?rev=345481&view=rev
Log:
[SelectionDAG] Fix bad indentation. NFC
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp?rev=345481&r1=345480&r2=345481&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Sun Oct 28 14:24:20 2018
@@ -4392,10 +4392,10 @@ SDValue SelectionDAG::FoldConstantArithm
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)
More information about the llvm-commits
mailing list