From 9c9f5585b94fa9c88155cd37586844f15fd153bc Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 12 May 2015 14:18:16 +0000 Subject: [PATCH] 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 --- test/CodeGen/R600/llvm.SI.sendmsg.ll | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.34.1