[llvm] r237134 - R600/SI: Make sendmsg test more strict

Tom Stellard thomas.stellard at amd.com
Tue May 12 07:18:16 PDT 2015


Author: tstellar
Date: Tue May 12 09:18:16 2015
New Revision: 237134

URL: http://llvm.org/viewvc/llvm-project?rev=237134&view=rev
Log:
R600/SI: Make sendmsg test more strict

We want to make sure that the m0 copies are being cse'd.

Modified:
    llvm/trunk/test/CodeGen/R600/llvm.SI.sendmsg.ll

Modified: llvm/trunk/test/CodeGen/R600/llvm.SI.sendmsg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/R600/llvm.SI.sendmsg.ll?rev=237134&r1=237133&r2=237134&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/R600/llvm.SI.sendmsg.ll (original)
+++ llvm/trunk/test/CodeGen/R600/llvm.SI.sendmsg.ll Tue May 12 09:18:16 2015
@@ -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)





More information about the llvm-commits mailing list