[llvm] r302145 - [X86][SSE] Add i686 triple tests for PBLENDW commutation

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 06:08:09 PDT 2017


Author: rksimon
Date: Thu May  4 08:08:09 2017
New Revision: 302145

URL: http://llvm.org/viewvc/llvm-project?rev=302145&view=rev
Log:
[X86][SSE] Add i686 triple tests for PBLENDW commutation

Modified:
    llvm/trunk/test/CodeGen/X86/commuted-blend-mask.ll

Modified: llvm/trunk/test/CodeGen/X86/commuted-blend-mask.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/commuted-blend-mask.ll?rev=302145&r1=302144&r2=302145&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/commuted-blend-mask.ll (original)
+++ llvm/trunk/test/CodeGen/X86/commuted-blend-mask.ll Thu May  4 08:08:09 2017
@@ -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
 }




More information about the llvm-commits mailing list