[PATCH] D82292: [SelectionDAG] Lower @llvm.get.active.lane.mask to setcc

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 25 10:14:15 PDT 2020


efriedma added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:6932
+    setValue(&I, DAG.getNode(ISD::AND, DL, CCVT, VectorInduction.getValue(1),
+                             SetCC));
+    return;
----------------
I know I wrote "just replace the ADD with UADDO, and AND the overflow result with the compare result", but I think you need to NOT the overflow vector before the AND.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82292/new/

https://reviews.llvm.org/D82292





More information about the llvm-commits mailing list