HomePhabricator

[CodeGen] Move MacroFusion to the target

Description

[CodeGen] Move MacroFusion to the target

This patch moves the class for scheduling adjacent instructions,
MacroFusion, to the target.

In AArch64, it also expands the fusion to all instructions pairs in a
scheduling block, beyond just among the predecessors of the branch at the
end.

Differential revision: https://reviews.llvm.org/D28489

Details

Committed
evandroJan 31 2017, 6:54 PM
Differential Revision
D34144: [CodeGen] Add generic MacroFusion pass.
Parents
rL293736: [ImplicitNullCheck] NFC isSuitableMemoryOp cleanup
Branches
Unknown
Tags
Unknown