[llvm-commits] [llvm] r139631 - /llvm/trunk/test/CodeGen/X86/sse2-blend.ll

Nadav Rotem nadav.rotem at intel.com
Tue Sep 13 12:59:18 PDT 2011


Author: nadav
Date: Tue Sep 13 14:59:18 2011
New Revision: 139631

URL: http://llvm.org/viewvc/llvm-project?rev=139631&view=rev
Log:
update checked pattern

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

Modified: llvm/trunk/test/CodeGen/X86/sse2-blend.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/sse2-blend.ll?rev=139631&r1=139630&r2=139631&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/sse2-blend.ll (original)
+++ llvm/trunk/test/CodeGen/X86/sse2-blend.ll Tue Sep 13 14:59:18 2011
@@ -1,4 +1,7 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah -promote-elements -mattr=+sse2,-sse41
+; RUN: llc < %s -march=x86 -mcpu=yonah -promote-elements -mattr=+sse2,-sse41 | FileCheck %s
+
+
+; currently (xor v4i32) is defined as illegal, so we scalarize the code.
 
 define void at vsel_float(<4 x float>* %v1, <4 x float>* %v2) {
   %A = load <4 x float>* %v1
@@ -8,6 +11,8 @@
   ret void
 }
 
+; currently (xor v4i32) is defined as illegal, so we scalarize the code.
+
 define void at vsel_i32(<4 x i32>* %v1, <4 x i32>* %v2) {
   %A = load <4 x i32>* %v1
   %B = load <4 x i32>* %v2
@@ -16,6 +21,12 @@
   ret void
 }
 
+; CHECK: vsel_i64
+; CHECK: pxor
+; CHECK: pand
+; CHECK: pandn
+; CHECK: por
+; CHECK: ret
 
 define void at vsel_i64(<4 x i64>* %v1, <4 x i64>* %v2) {
   %A = load <4 x i64>* %v1
@@ -25,6 +36,13 @@
   ret void
 }
 
+; CHECK: vsel_double
+; CHECK: pxor
+; CHECK: pand
+; CHECK: pandn
+; CHECK: por
+; CHECK: ret
+
 
 define void at vsel_double(<4 x double>* %v1, <4 x double>* %v2) {
   %A = load <4 x double>* %v1





More information about the llvm-commits mailing list