[PATCH] D53105: [Pipeliner] Fix the Schedule DAG topoligical order.

Sumanth Gundapaneni via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 11 12:44:47 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL344282: [Pipeliner] Fix the Schedule DAG topoligical order. (authored by sgundapa, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D53105?vs=169075&id=169275#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D53105

Files:
  llvm/trunk/lib/CodeGen/MachinePipeliner.cpp


Index: llvm/trunk/lib/CodeGen/MachinePipeliner.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/MachinePipeliner.cpp
+++ llvm/trunk/lib/CodeGen/MachinePipeliner.cpp
@@ -1295,6 +1295,7 @@
     // Add a dependence between the new instruction and the instruction
     // that defines the new base.
     SDep Dep(&I, SDep::Anti, NewBase);
+    Topo.AddPred(LastSU, &I);
     LastSU->addPred(Dep);
 
     // Remember the base and offset information so that we can update the


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53105.169275.patch
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181011/3da80fc7/attachment.bin>


More information about the llvm-commits mailing list