[PATCH] D80084: [CodeMoverUtils] Use dominator tree level to decide the direction of code motion

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 17 10:39:07 PDT 2020


Whitney added inline comments.


================
Comment at: llvm/include/llvm/Analysis/OrderedInstructions.h:48
   bool dfsBefore(const Instruction *, const Instruction *) const;
+  bool bfsLevelBefore(const Instruction *, const Instruction *) const;
 };
----------------
Please add description of this new function. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80084





More information about the llvm-commits mailing list