summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-05-03 13:42:55 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-05-03 13:42:55 +0000
commit2636460f0e1cb582f3793775efbffdc02bf55d23 (patch)
tree09f5f6bbed40035536138fec760a8ed7c30b68fa /llvm
parentd3cfaae24301afc85d80524ca4064695f7c5c001 (diff)
downloadbcm5719-llvm-2636460f0e1cb582f3793775efbffdc02bf55d23.tar.gz
bcm5719-llvm-2636460f0e1cb582f3793775efbffdc02bf55d23.zip
AMDGPU: Fix test verification
This should run the verifier, and needs to enable trackRegLiveness. llvm-svn: 359882
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir b/llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir
index 696d47de882..7fe6ce845ab 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
OpenPOWER on IntegriCloud