[llvm] r359882 - AMDGPU: Fix test verification

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 06:42:55 PDT 2019


Author: arsenm
Date: Fri May  3 06:42:55 2019
New Revision: 359882

URL: http://llvm.org/viewvc/llvm-project?rev=359882&view=rev
Log:
AMDGPU: Fix test verification

This should run the verifier, and needs to enable trackRegLiveness.

Modified:
    llvm/trunk/test/CodeGen/AMDGPU/fold-imm-copy.mir

Modified: llvm/trunk/test/CodeGen/AMDGPU/fold-imm-copy.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AMDGPU/fold-imm-copy.mir?rev=359882&r1=359881&r2=359882&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AMDGPU/fold-imm-copy.mir (original)
+++ llvm/trunk/test/CodeGen/AMDGPU/fold-imm-copy.mir Fri May  3 06:42:55 2019
@@ -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




More information about the llvm-commits mailing list