R600/SI: Make sendmsg test more strict
authorTom Stellard <thomas.stellard@amd.com>
Tue, 12 May 2015 14:18:16 +0000 (14:18 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 12 May 2015 14:18:16 +0000 (14:18 +0000)
We want to make sure that the m0 copies are being cse'd.

llvm-svn: 237134

llvm/test/CodeGen/R600/llvm.SI.sendmsg.ll

index ce38002..09675d5 100644 (file)
@@ -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)