HomePhabricator

[MachineScheduler][NFC] Don't swap when we can't cluster

Authored by jsji on Jan 15 2020, 1:19 PM.

Description

[MachineScheduler][NFC] Don't swap when we can't cluster

https://reviews.llvm.org/D72706 tried to reduce reordering due to mem op
clustering. This patch avoid doing the swap when we can't cluster.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D72800

Details

Committed
jsjiJan 15 2020, 1:55 PM
Reviewer
rampitec
Differential Revision
D72800: [MachineScheduler] Don't swap when we can't cluster
Parents
rG5466597fee37: [NFC] Refactor InlineResult for readability
Branches
Unknown
Tags
Unknown