[PATCH] D64766: [AMDGPU] Enable merging m0 initializations.

Austin Kerbow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 13:28:02 PDT 2019


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

Enable hoisting and merging m0 defs that are initialized with the
same immediate value. Fixes bug where removed instructions are
not consider to interfere with other inits, and make sure to not
host inits before block prologs.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64766

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64766.209940.patch
Type: text/x-patch
Size: 7275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190715/0cd85f3f/attachment.bin>


More information about the llvm-commits mailing list