[PATCH] D49242: [Intrinsics] define funnel shift IR intrinsics + DAG builder support

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 13:08:02 PDT 2018


kparzysz added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:5685
+      SDValue Zero = DAG.getConstant(0, sdl, VT);
+      EVT CCVT = MVT::i1;
+      if (VT.isVector())
----------------
You can use TargetLowering::getSetCCResultType instead.


https://reviews.llvm.org/D49242





More information about the llvm-commits mailing list