[PATCH] D15330: Fix cycle in selection DAG introduced by extractelement legalization

Robert Lougher via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 9 02:52:05 PST 2015


rob.lougher marked an inline comment as done.

================
Comment at: lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1488
@@ +1487,3 @@
+      // we will make the index dependent on the load).
+      if (Idx.getNode()->hasPredecessorHelper(ST, Visited, Worklist))
+        continue;
----------------
Done


http://reviews.llvm.org/D15330





More information about the llvm-commits mailing list