[SystemZ] Clear Available set in SystemZPostRASchedStrategy::initialize().
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 11 Jan 2021 01:59:16 +0000 (02:59 +0100)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Thu, 14 Jan 2021 00:18:27 +0000 (18:18 -0600)
commitddd03842c3472fedf164274c479272089c426ee5
tree081e73f7bc49dd509fd24a42e56ea089159c6aef
parent86341247c4a2ffa4328945b03e7a05b1c51c3889
[SystemZ]  Clear Available set in SystemZPostRASchedStrategy::initialize().

This needs to be done in order to not crash with -misched-cutoff.

Fixes https://bugs.llvm.org/show_bug.cgi?id=45928

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D94383
llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp
llvm/test/CodeGen/SystemZ/misched-cutoff.ll [new file with mode: 0644]