From 2636460f0e1cb582f3793775efbffdc02bf55d23 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. llvm-svn: 359882 --- llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir b/llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir index 696d47d..7fe6ce8 100644 --- a/llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir +++ b/llvm/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.7.4