[PATCH] D117014: AMDGPU: Use removeAllRegUnitsForPhysReg()
Ruiling, Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 14 19:28:49 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG98dd390573dc: AMDGPU: Use removeAllRegUnitsForPhysReg() (authored by ruiling).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117014/new/
https://reviews.llvm.org/D117014
Files:
llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
Index: llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
+++ llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
@@ -1588,11 +1588,11 @@
// Physical registers like SCC aren't tracked by default anyway, so just
// removing the ranges we computed is the simplest option for maintaining
// the analysis results.
- LIS->removeRegUnit(*MCRegUnitIterator(MCRegister::from(AMDGPU::SCC), TRI));
+ LIS->removeAllRegUnitsForPhysReg(AMDGPU::SCC);
// If we performed any kills then recompute EXEC
if (!KillInstrs.empty())
- LIS->removeRegUnit(*MCRegUnitIterator(AMDGPU::EXEC, TRI));
+ LIS->removeAllRegUnitsForPhysReg(AMDGPU::EXEC);
return true;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117014.415302.patch
Type: text/x-patch
Size: 766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220315/52a7e24f/attachment.bin>
More information about the llvm-commits
mailing list