[PATCH] D80643: Move OrderedInstructions to CodeMoverUtils
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 27 10:17:17 PDT 2020
nikic added a comment.
You don't need an actual OrderedInstructions class. You can simply make domTreeLevelBefore() a static function in CodeMoverUtils.cpp. Replace the localDominates() call with Instruction::comesBefore().
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80643/new/
https://reviews.llvm.org/D80643
More information about the llvm-commits
mailing list