[PATCH] D32916: [DAGCombine] (addcarry 0, 0, X) -> (ext/trunc X)

Filipe Cabecinhas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 07:13:43 PDT 2017


filcab added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:2140
   if (N0C && !N1C)
-    return DAG.getNode(ISD::ADDCARRY, SDLoc(N), N->getVTList(),
-                       N1, N0, CarryIn);
+    return DAG.getNode(ISD::ADDCARRY, DL, N->getVTList(), N1, N0, CarryIn);
 
----------------
Please split these changes before committing the patch.


https://reviews.llvm.org/D32916





More information about the llvm-commits mailing list