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

suyog via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 00:15:21 PST 2015


suyog added a subscriber: suyog.

================
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);
----------------
congh wrote:
> 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!
This may also be related to https://llvm.org/bugs/show_bug.cgi?id=20035


http://reviews.llvm.org/D15250





More information about the llvm-commits mailing list