[PATCH] D35229: [CodeGen] Add support for instruction clusters

Javed Absar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 15:27:28 PDT 2017


javed.absar added inline comments.


================
Comment at: llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:242
+              UseSU->print(dbgs()); dbgs() << '\n';);
+        UseSU->addPred(SDep(SU, SDep::Artificial));
+      }
----------------
May be I am bit confused here, but should it not be SDep(Def, SDep::Artificial) ? 
Please consider rewording the comment to make the intention clearer, if possible. 


Repository:
  rL LLVM

https://reviews.llvm.org/D35229





More information about the llvm-commits mailing list