[PATCH] D67519: AMDGPU: Inline constant when materalizing FI with add on gfx9
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 12 13:57:15 PDT 2019
arsenm created this revision.
arsenm added a reviewer: rampitec.
Herald added subscribers: arphaman, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
This was relying on the SGPR usable for the carry out clobber to also
be used for the input. There was no carry out on gfx9. With no carry
out clobber to worry about, so the literal can just be directly used
with a VOP2 add.
https://reviews.llvm.org/D67519
Files:
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIRegisterInfo.cpp
test/CodeGen/AMDGPU/frame-index-elimination.ll
test/CodeGen/AMDGPU/pei-scavenge-sgpr-gfx9.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67519.219992.patch
Type: text/x-patch
Size: 7556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190912/44989ffb/attachment.bin>
More information about the llvm-commits
mailing list