[PATCH] D150381: [AMDGPU] Add optional tied-op for wwm-register's epilog spill restore
Christudasan Devadasan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 10:30:26 PDT 2023
cdevadas updated this revision to Diff 522256.
cdevadas added a comment.
Used MachineInstr::readsRegister to check if RETURN instruction reads the spill-reg.
Also, added more tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150381/new/
https://reviews.llvm.org/D150381
Files:
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/test/CodeGen/AMDGPU/preserve-only-inactive-lane.mir
llvm/test/CodeGen/AMDGPU/tied-op-for-wwm-scratch-reg-spill-restore.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150381.522256.patch
Type: text/x-patch
Size: 10527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230515/fd21db62/attachment.bin>
More information about the llvm-commits
mailing list