]> granicus.if.org Git - llvm/commitdiff
Formatting in DAGCombiner. NFC
authorAmaury Sechet <deadalnix@gmail.com>
Sat, 4 Feb 2017 13:01:53 +0000 (13:01 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Sat, 4 Feb 2017 13:01:53 +0000 (13:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294091 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/DAGCombiner.cpp

index 3e753275f1cfe46d96e6b545959a61eb27e26c4a..b4a04ccbe6256379339061659605a1b96e9d077c 100644 (file)
@@ -7778,6 +7778,7 @@ SDValue DAGCombiner::visitTRUNCATE(SDNode *N) {
                                                      VT.getSizeInBits())))
       return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, Shorter);
   }
+
   // fold (truncate (load x)) -> (smaller load x)
   // fold (truncate (srl (load x), c)) -> (smaller load (x+c/evtbits))
   if (!LegalTypes || TLI.isTypeDesirableForOp(N0.getOpcode(), VT)) {
@@ -7799,6 +7800,7 @@ SDValue DAGCombiner::visitTRUNCATE(SDNode *N) {
       }
     }
   }
+
   // fold (trunc (concat ... x ...)) -> (concat ..., (trunc x), ...)),
   // where ... are all 'undef'.
   if (N0.getOpcode() == ISD::CONCAT_VECTORS && !LegalTypes) {