mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-22 02:05:01 +00:00
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
This commit is contained in:
parent
9390983b08
commit
07265b81b3
@ -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, <i32 31, i32 31, i32 31, i32 31>
|
||||
%sub = sub nsw <4 x i32> zeroinitializer, %a
|
||||
%0 = xor <4 x i32> %b.lobit, <i32 -1, i32 -1, i32 -1, i32 -1>
|
||||
@ -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, <i32 31, i32 31, i32 31, i32 31>
|
||||
%sub = sub nsw <4 x i32> zeroinitializer, %a
|
||||
%0 = xor <4 x i32> %b.lobit, <i32 -1, i32 -1, i32 -1, i32 -1>
|
||||
|
Loading…
x
Reference in New Issue
Block a user