Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1285)

Unified Diff: test/CodeGen/JS/simd-select.ll

Issue 1692803002: Remove Emscripten support (Closed) Base URL: https://chromium.googlesource.com/a/native_client/pnacl-llvm.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/CodeGen/JS/simd-misc.ll ('k') | test/CodeGen/JS/simd-shift.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
-}
« no previous file with comments | « test/CodeGen/JS/simd-misc.ll ('k') | test/CodeGen/JS/simd-shift.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698