[PATCH] D65350: [DDG] Data Dependence Graph Basics

Min-Yih Hsu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 08:50:44 PDT 2019


myhsu added inline comments.


================
Comment at: llvm/include/llvm/Analysis/DDG.h:68
+  /// true if at least one instruction was collected, and false otherwise.
+  bool CollectInstructions(std::function<bool(Instruction *)> const &Pred,
+                           InstructionList &IList) const;
----------------
Maybe we can use `llvm::function_ref` here?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65350/new/

https://reviews.llvm.org/D65350





More information about the llvm-commits mailing list