Index: test/CodeGen/JS/simd-select.ll |
diff --git a/test/CodeGen/JS/simd-select.ll b/test/CodeGen/JS/simd-select.ll |
deleted file mode 100644 |
index daf46c8b9988cb9ce40e0a8b771d6088dbed8988..0000000000000000000000000000000000000000 |
--- a/test/CodeGen/JS/simd-select.ll |
+++ /dev/null |
@@ -1,56 +0,0 @@ |
-; RUN: llc < %s | FileCheck %s |
- |
-target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-p:32:32:32-v128:32:128-n32-S128" |
-target triple = "asmjs-unknown-emscripten" |
- |
-; CHECK: function _test0($a,$b,$cond) { |
-; CHECK: $a = SIMD_int32x4_check($a); |
-; CHECK: $b = SIMD_int32x4_check($b); |
-; CHECK: $cond = SIMD_int32x4_check($cond); |
-; CHECK: $cmp = SIMD_int32x4_select($cond,$a,$b); |
-; CHECK: return (SIMD_int32x4_check($cmp)); |
-; CHECK: } |
-define <4 x i32> @test0(<4 x i32> %a, <4 x i32> %b, <4 x i1> %cond) nounwind { |
-entry: |
- %cmp = select <4 x i1> %cond, <4 x i32> %a, <4 x i32> %b |
- ret <4 x i32> %cmp |
-} |
- |
-; CHECK: function _test1($a,$b,$cond) { |
-; CHECK: $a = SIMD_float32x4_check($a); |
-; CHECK: $b = SIMD_float32x4_check($b); |
-; CHECK: $cond = SIMD_int32x4_check($cond); |
-; CHECK: $cmp = SIMD_float32x4_select($cond,$a,$b); |
-; CHECK: return (SIMD_float32x4_check($cmp)); |
-; CHECK: } |
-define <4 x float> @test1(<4 x float> %a, <4 x float> %b, <4 x i1> %cond) nounwind { |
-entry: |
- %cmp = select <4 x i1> %cond, <4 x float> %a, <4 x float> %b |
- ret <4 x float> %cmp |
-} |
- |
-; CHECK: function _test2($a,$b,$cond) { |
-; CHECK: $a = SIMD_int32x4_check($a); |
-; CHECK: $b = SIMD_int32x4_check($b); |
-; CHECK: $cond = $cond|0; |
-; CHECK: $cmp = $cond ? $a : $b; |
-; CHECK: return (SIMD_int32x4_check($cmp)); |
-; CHECK: } |
-define <4 x i32> @test2(<4 x i32> %a, <4 x i32> %b, i1 %cond) nounwind { |
-entry: |
- %cmp = select i1 %cond, <4 x i32> %a, <4 x i32> %b |
- ret <4 x i32> %cmp |
-} |
- |
-; CHECK: function _test3($a,$b,$cond) { |
-; CHECK: $a = SIMD_float32x4_check($a); |
-; CHECK: $b = SIMD_float32x4_check($b); |
-; CHECK: $cond = $cond|0; |
-; CHECK: $cmp = $cond ? $a : $b; |
-; CHECK: return (SIMD_float32x4_check($cmp)); |
-; CHECK: } |
-define <4 x float> @test3(<4 x float> %a, <4 x float> %b, i1 %cond) nounwind { |
-entry: |
- %cmp = select i1 %cond, <4 x float> %a, <4 x float> %b |
- ret <4 x float> %cmp |
-} |