[PATCH] D28489: [CodeGen] Move MacroFusion to the target

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 27 13:25:42 PST 2017


MatzeB added a comment.

The targets add the DAG Mutators anyway, so you should be able to remove the whole `shouldScheduleAdjacent()` callback let the targets define their own `class MacroFusion : public ScheduleDAGMutation { ... }` class which they then add as a mutator.


Repository:
  rL LLVM

https://reviews.llvm.org/D28489





More information about the llvm-commits mailing list