[llvm] AMDGPU/NewPM: Port SIFixSGPRCopies to new pass manager (PR #102614)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 06:25:59 PDT 2024
================
@@ -158,6 +157,20 @@ class SIFixSGPRCopies : public MachineFunctionPass {
bool tryMoveVGPRConstToSGPR(MachineOperand &MO, Register NewDst,
MachineBasicBlock *BlockToInsertTo,
MachineBasicBlock::iterator PointToInsertTo);
+};
+
+class SIFixSGPRCopiesLegacy : public MachineFunctionPass {
----------------
jayfoad wrote:
I'd have called it SIFixSGPRCopiesLegacy**Pass** but I see there are precedents for this weird naming.
https://github.com/llvm/llvm-project/pull/102614
More information about the llvm-commits
mailing list