[PATCH] D15250: Detecte vector reduction operations just before instruction selection.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 10:45:01 PST 2015


congh added inline comments.

================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:2410
@@ +2409,3 @@
+        if ((U2->getOperand(0) == U->getOperand(0) && U2->getOperand(1) == U) ||
+            (U2->getOperand(1) == U->getOperand(0) && U2->getOperand(0) == U)) {
+          UsersToVisit.push_back(U2);
----------------
spatel wrote:
> For reference, I filed this as PR25808 so I could link it to some other reduction bugs:
> https://llvm.org/bugs/show_bug.cgi?id=25808
Thanks for filing the bug!


http://reviews.llvm.org/D15250





More information about the llvm-commits mailing list