[PATCH] D19202: [PR27390] [CodeGen] Reject indexed loads in CombinerDAG.

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 08:32:22 PDT 2016


hfinkel accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAG.cpp:6964
@@ -6963,1 +6963,3 @@
     return false;
+  if (LD->isIndexed() || Base->isIndexed())
+    return false;
----------------
Okay. Please check in DAGCombiner::CombineConsecutiveLoads instead. Otherwise, LGTM.


Repository:
  rL LLVM

http://reviews.llvm.org/D19202





More information about the llvm-commits mailing list