]> granicus.if.org Git - llvm/commit
AMDGPU: Move m0 initializations earlier
authorAustin Kerbow <Austin.Kerbow@amd.com>
Wed, 11 Sep 2019 21:28:41 +0000 (21:28 +0000)
committerAustin Kerbow <Austin.Kerbow@amd.com>
Wed, 11 Sep 2019 21:28:41 +0000 (21:28 +0000)
commitc3c98a8a9392c53063b2a237910298437a6bab6e
tree5b4600e4dc3aecaad89fda7033661e548e23973e
parent7d1d9eb601aa79b23a7f740794a65b793a31abe4
AMDGPU: Move m0 initializations earlier

Summary:
After hoisting and merging m0 initializations schedule them as early as
possible in the MBB. This helps the scheduler avoid hazards in some
cases.

Reviewers: rampitec, arsenm

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, arphaman, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371671 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
test/CodeGen/AMDGPU/frame-index-elimination.ll
test/CodeGen/AMDGPU/merge-m0.mir