[X86][SSE] Missing SSE/AVX1 memory folding integer instructions
[oota-llvm.git] / test / CodeGen / X86 / 2011-11-30-or.ll
index 8ac4632329b33478f75035947db63108800d4709..4260e817b4158cf4e8e00e9ca8b0fef9c53ee8aa 100644 (file)
@@ -2,13 +2,13 @@
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32"
 target triple = "x86_64-apple-macosx10.6.6"
-
-; Test that the order of operands is correct
-; CHECK: select_func
-; CHECK: pblendvb        %xmm1, %xmm2
-; CHECK: ret
-
-define void @select_func(<8 x i16> %in) {
+\r
+; Test that the order of operands is correct\r
+; CHECK: select_func\r
+; CHECK: pblendvb        {{LCPI0_[0-9]*}}(%rip), %xmm1\r
+; CHECK: ret\r
+\r
+define void @select_func(<8 x i16> %in) {\r
 entry:
   %c.lobit.i.i.i = ashr <8 x i16> %in, <i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15>
   %and.i56.i.i.i = and <8 x i16> %c.lobit.i.i.i, <i16 25, i16 8, i16 65, i16 25, i16 8, i16 95, i16 15, i16 45>