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

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 09:13:43 PST 2015


spatel 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);
----------------
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


http://reviews.llvm.org/D15250





More information about the llvm-commits mailing list