From e3411e07b4c00b9d788b773e13204ac4db2c42bb Mon Sep 17 00:00:00 2001 From: Akshat Oke Date: Tue, 5 Nov 2024 09:38:58 +0000 Subject: [PATCH] [AMDGPU] Fix 3495d04 MIR test Needed to specify scratchRSrcReg and spreg in order to stop after prologepilog --- llvm/test/CodeGen/MIR/AMDGPU/spill-phys-vgprs.mir | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/test/CodeGen/MIR/AMDGPU/spill-phys-vgprs.mir b/llvm/test/CodeGen/MIR/AMDGPU/spill-phys-vgprs.mir index 3961330070c77..4d6e33cf0b68a 100644 --- a/llvm/test/CodeGen/MIR/AMDGPU/spill-phys-vgprs.mir +++ b/llvm/test/CodeGen/MIR/AMDGPU/spill-phys-vgprs.mir @@ -6,6 +6,11 @@ --- name: csr_sgpr_spill tracksRegLiveness: true +machineFunctionInfo: + isEntryFunction: false + scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' + stackPtrOffsetReg: '$sgpr32' + hasSpilledSGPRs: true body: | bb.0: S_NOP 0