[MachineScheduler] Enable AA in PostRA Machine scheduler
authorDavid Green <david.green@arm.com>
Tue, 5 Nov 2019 11:54:22 +0000 (11:54 +0000)
committerDavid Green <david.green@arm.com>
Tue, 5 Nov 2019 11:58:50 +0000 (11:58 +0000)
commitf01b9aa89e8cd5d3cca0e13835302f69c1f879d2
treea5d0b05cc67d76fd49624bc08a38c94b5f7cb4e2
parent2d21068d9fa05df9e986020353224ec7449fbe68
[MachineScheduler] Enable AA in PostRA Machine scheduler

This adds AA to Post-RA Machine Scheduling, allowing the pass more
freedom when handling memory operations.

My understanding is that this was just never done, not that it is
inherently incorrect to do so. The older PostRA List scheduler already
makes use of AA, it's just that the MI PostRA Scheduler was never taught
to use it.

Differential Revision: https://reviews.llvm.org/D69814
llvm/lib/CodeGen/MachineScheduler.cpp
llvm/test/CodeGen/AArch64/merge-store-dependency.ll
llvm/test/CodeGen/PowerPC/extract-and-store.ll
llvm/test/CodeGen/PowerPC/f128-aggregates.ll
llvm/test/CodeGen/PowerPC/vec_conv_fp32_to_i64_elts.ll
llvm/test/CodeGen/PowerPC/vec_conv_i16_to_fp64_elts.ll
llvm/test/CodeGen/PowerPC/vec_conv_i64_to_fp32_elts.ll