From: Tom Stellard Date: Tue, 12 May 2015 14:18:16 +0000 (+0000) Subject: R600/SI: Make sendmsg test more strict X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9c9f5585b94fa9c88155cd37586844f15fd153bc;p=oota-llvm.git R600/SI: Make sendmsg test more strict We want to make sure that the m0 copies are being cse'd. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237134 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/R600/llvm.SI.sendmsg.ll b/test/CodeGen/R600/llvm.SI.sendmsg.ll index ce380024195..09675d50335 100644 --- a/test/CodeGen/R600/llvm.SI.sendmsg.ll +++ b/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)