diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-08 17:12:57 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-08 17:12:57 +0000 |
commit | c46e6a5940c50058e00c0c5f9123fd82e338d29a (patch) | |
tree | 89a719d723035c54a190b1f81d329834f1f93336 /test/CodeGen/X86/commuted-blend-mask.ll | |
parent | 148779df305667b6942fee7e758fdf81a6498f38 (diff) | |
download | src-test-c46e6a5940c50058e00c0c5f9123fd82e338d29a.tar.gz src-test-c46e6a5940c50058e00c0c5f9123fd82e338d29a.zip |
Notes
Diffstat (limited to 'test/CodeGen/X86/commuted-blend-mask.ll')
-rw-r--r-- | test/CodeGen/X86/commuted-blend-mask.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/X86/commuted-blend-mask.ll b/test/CodeGen/X86/commuted-blend-mask.ll index e6322cbb7a14b..37830509d5a27 100644 --- a/test/CodeGen/X86/commuted-blend-mask.ll +++ b/test/CodeGen/X86/commuted-blend-mask.ll @@ -1,4 +1,5 @@ -; RUN: llc -mtriple=x86_64-unknown-unknown -mattr=+sse4.1 < %s | FileCheck %s +; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse4.1 | FileCheck %s +; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse4.1 | FileCheck %s ; When commuting the operands of a SSE blend, make sure that the resulting blend ; mask can be encoded as a imm8. @@ -7,7 +8,7 @@ ; pblendw $4294967103, %xmm1, %xmm0 define <4 x i32> @test(<4 x i32> %a, <4 x i32> %b) { - ;CHECK: pblendw $63, %xmm1, %xmm0 +; CHECK: pblendw $63, %xmm1, %xmm0 %shuffle = shufflevector <4 x i32> %a, <4 x i32> %b, <4 x i32> <i32 4, i32 5, i32 6, i32 3> ret <4 x i32> %shuffle } |