From: Matt Arsenault Date: Fri, 3 May 2019 13:42:55 +0000 (+0000) Subject: AMDGPU: Fix test verification X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c09729c6722d6fcdbbc1bcd7f35dafbe78ee701;p=llvm 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 --- 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