From 0c09729c6722d6fcdbbc1bcd7f35dafbe78ee701 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 3 May 2019 13:42:55 +0000 Subject: [PATCH] AMDGPU: Fix test verification This should run the verifier, and needs to enable trackRegLiveness. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359882 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/AMDGPU/fold-imm-copy.mir | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/CodeGen/AMDGPU/fold-imm-copy.mir b/test/CodeGen/AMDGPU/fold-imm-copy.mir index 696d47de882..7fe6ce845ab 100644 --- a/test/CodeGen/AMDGPU/fold-imm-copy.mir +++ b/test/CodeGen/AMDGPU/fold-imm-copy.mir @@ -1,10 +1,12 @@ -# RUN: llc -march=amdgcn -run-pass si-fold-operands %s -o - | FileCheck -check-prefix=GCN %s +# RUN: llc -march=amdgcn -run-pass si-fold-operands -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s # GCN-LABEL: name: fold-imm-copy # GCN: [[SREG:%[0-9+]]]:sreg_32_xm0 = S_MOV_B32 65535 # GCN: V_AND_B32_e32 [[SREG]] +--- name: fold-imm-copy +tracksRegLiveness: true body: | bb.0: liveins: $vgpr0, $sgpr0_sgpr1 -- 2.40.0