[PATCH] D150571: [AMDGPU] Avoid RegScavenger::forward in copyPhysReg/indirectCopyToAGPR
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 16 07:54:04 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG64c938e8e31d: [AMDGPU] Avoid RegScavenger::forward in copyPhysReg/indirectCopyToAGPR (authored by foad).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150571/new/
https://reviews.llvm.org/D150571
Files:
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Index: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+++ llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
@@ -618,8 +618,8 @@
}
}
- RS.enterBasicBlock(MBB);
- RS.forward(MI);
+ RS.enterBasicBlockEnd(MBB);
+ RS.backward(MI);
// Ideally we want to have three registers for a long reg_sequence copy
// to hide 2 waitstates between v_mov_b32 and accvgpr_write.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150571.522621.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230516/1b3ff22a/attachment.bin>
More information about the llvm-commits
mailing list