[PATCH] D67450: AMDGPU: Move m0 initializations earlier

Austin Kerbow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 08:44:39 PDT 2019


kerbowa created this revision.
kerbowa added reviewers: rampitec, arsenm.
Herald added subscribers: llvm-commits, arphaman, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
kerbowa updated this revision to Diff 219722.
kerbowa added a comment.

Fix test.


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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67450

Files:
  llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
  llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
  llvm/test/CodeGen/AMDGPU/merge-m0.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67450.219722.patch
Type: text/x-patch
Size: 7064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190911/723a03e9/attachment-0001.bin>


More information about the llvm-commits mailing list