[PATCH] D10867: [Codegen] Added intrinsics 'absdiff' and corresponding SDNodes for absolute difference operation

hfinkel at anl.gov hfinkel at anl.gov
Thu Jul 9 19:39:10 PDT 2015


hfinkel added inline comments.

================
Comment at: lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:2699
@@ +2698,3 @@
+/// blend natively.
+SDValue SelectionDAGLegalize::ExpandVSELECT(SDValue Op) {
+  SDLoc DL(Op);
----------------
Why are you adding this in this patch?


================
Comment at: lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:2935
@@ +2934,3 @@
+    Results.push_back(Tmp1);
+    break;
+  }
----------------
Both ISD::UABSDIFF and ISD::SABSDIFF are the same?



Repository:
  rL LLVM

http://reviews.llvm.org/D10867







More information about the llvm-commits mailing list