[PATCH] D111070: [MacroFusion] Expose useful static methods. NFC.

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 4 14:16:34 PDT 2021


MatzeB accepted this revision.
MatzeB added a comment.
This revision is now accepted and ready to land.

LGTM with docu comments added.



================
Comment at: llvm/include/llvm/CodeGen/MacroFusion.h:37-39
+bool hasLessThanNumFused(const SUnit &SU, unsigned FuseLimit);
+bool fuseInstructionPair(ScheduleDAGInstrs &DAG, SUnit &FirstSU,
+                         SUnit &SecondSU);
----------------
Please add some documentation when making the API available to more users!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111070



More information about the llvm-commits mailing list