From: Benjamin Kramer Date: Sat, 18 Dec 2010 14:07:28 +0000 (+0000) Subject: Test more than just label names and make test work on non-x86 hosts. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=07265b81b379751405857886f9ffa1da371a509f;p=oota-llvm.git Test more than just label names and make test work on non-x86 hosts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122153 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/vec-sign.ll b/test/CodeGen/X86/vec-sign.ll index 0d7e9e5e455..be5a2399d22 100644 --- a/test/CodeGen/X86/vec-sign.ll +++ b/test/CodeGen/X86/vec-sign.ll @@ -1,9 +1,11 @@ -; RUN: llc < %s -mcpu=nehalem | FileCheck %s +; RUN: llc < %s -march=x86 -mcpu=nehalem | FileCheck %s define <4 x i32> @psignd(<4 x i32> %a, <4 x i32> %b) nounwind ssp { entry: +; CHECK: psignd: ; CHECK: psignd ; CHECK-NOT: sub +; CHECK: ret %b.lobit = ashr <4 x i32> %b, %sub = sub nsw <4 x i32> zeroinitializer, %a %0 = xor <4 x i32> %b.lobit, @@ -15,7 +17,9 @@ entry: define <4 x i32> @pblendvb(<4 x i32> %b, <4 x i32> %a, <4 x i32> %c) nounwind ssp { entry: +; CHECK: pblendvb: ; CHECK: pblendvb +; CHECK: ret %b.lobit = ashr <4 x i32> %b, %sub = sub nsw <4 x i32> zeroinitializer, %a %0 = xor <4 x i32> %b.lobit,