[PATCH] D21429: Make the insertion of predicate deps in the schedule graph not quadratic in the number of predicate deps.
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 16 15:55:41 PDT 2016
arsenm added a subscriber: arsenm.
arsenm added a comment.
Looks reasonable to me
================
Comment at: lib/CodeGen/ScheduleDAG.cpp:90-92
@@ +89,5 @@
+ ForwardD.setSUnit(this);
+ for (SmallVectorImpl<SDep>::iterator II = PredSU->Succs.begin(),
+ EE = PredSU->Succs.end();
+ II != EE; ++II) {
+ if (*II == ForwardD) {
----------------
range loop?
http://reviews.llvm.org/D21429
More information about the llvm-commits
mailing list