summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2015-05-12 14:18:16 +0000
committerTom Stellard <thomas.stellard@amd.com>2015-05-12 14:18:16 +0000
commit7b222e110fd0f72ea74efc3b5265c546636b9c52 (patch)
tree37bceff0975f47caa54478996734dc9280cb5d61 /llvm/test/CodeGen
parentfc92e774453576278ddf694bb9a3cb52c366cd6d (diff)
downloadbcm5719-llvm-7b222e110fd0f72ea74efc3b5265c546636b9c52.tar.gz
bcm5719-llvm-7b222e110fd0f72ea74efc3b5265c546636b9c52.zip
R600/SI: Make sendmsg test more strict
We want to make sure that the m0 copies are being cse'd. llvm-svn: 237134
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/R600/llvm.SI.sendmsg.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/R600/llvm.SI.sendmsg.ll b/llvm/test/CodeGen/R600/llvm.SI.sendmsg.ll
index ce380024195..09675d50335 100644
--- a/llvm/test/CodeGen/R600/llvm.SI.sendmsg.ll
+++ b/llvm/test/CodeGen/R600/llvm.SI.sendmsg.ll
@@ -2,6 +2,8 @@
;RUN: llc < %s -march=amdgcn -mcpu=tonga -verify-machineinstrs | FileCheck %s
; CHECK-LABEL: {{^}}main:
+; CHECK: s_mov_b32 m0, 0
+; CHECK-NOT: s_mov_b32 m0
; CHECK: s_sendmsg Gs(emit stream 0)
; CHECK: s_sendmsg Gs(cut stream 1)
; CHECK: s_sendmsg Gs(emit-cut stream 2)
OpenPOWER on IntegriCloud