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

Unified Diff: test/CodeGen/JS/splat-precise-f32.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-shuffle.ll ('k') | test/CodeGen/JS/unrolled-simd.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/CodeGen/JS/splat-precise-f32.ll
diff --git a/test/CodeGen/JS/splat-precise-f32.ll b/test/CodeGen/JS/splat-precise-f32.ll
deleted file mode 100644
index e546a9431f4c3db0b619b826e2d4df0e5be2584d..0000000000000000000000000000000000000000
--- a/test/CodeGen/JS/splat-precise-f32.ll
+++ /dev/null
@@ -1,46 +0,0 @@
-; RUN: llc -emscripten-precise-f32=false < %s | FileCheck %s
-; RUN: llc -emscripten-precise-f32=true < %s | FileCheck --check-prefix=CHECK-PRECISE_F32 %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"
-
-; SIMD_float32x4_splat needs a float32 input even if we're not in precise-f32 mode.
-
-; CHECK: test(
-; CHECK: $d = SIMD_float32x4_splat(Math_fround($f));
-; CHECK-PRECISE_F32: test(
-; CHECK-PRECISE_F32: $f = Math_fround($f);
-; CHECK-PRECISE_F32: $d = SIMD_float32x4_splat($f);
-define <4 x float> @test(float %f) {
- %a = insertelement <4 x float> undef, float %f, i32 0
- %b = insertelement <4 x float> %a, float %f, i32 1
- %c = insertelement <4 x float> %b, float %f, i32 2
- %d = insertelement <4 x float> %c, float %f, i32 3
- ret <4 x float> %d
-}
-
-; CHECK: test_insert(
-; CHECK: $a = SIMD_float32x4_withX($v,Math_fround($g));
-; CHECK-PRECISE_F32: test_insert(
-; CHECK-PRECISE_F32: $g = Math_fround($g);
-; CHECK-PRECISE_F32: $a = SIMD_float32x4_withX($v,$g);
-define <4 x float> @test_insert(<4 x float> %v, float %g) {
- %a = insertelement <4 x float> %v, float %g, i32 0
- ret <4 x float> %a
-}
-
-; CHECK: test_ctor(
-; CHECK: $d = SIMD_float32x4(Math_fround($x), Math_fround($y), Math_fround($z), Math_fround($w));
-; CHECK-PRECISE_F32: test_ctor(
-; CHECK-PRECISE_F32: $x = Math_fround($x);
-; CHECK-PRECISE_F32: $y = Math_fround($y);
-; CHECK-PRECISE_F32: $z = Math_fround($z);
-; CHECK-PRECISE_F32: $w = Math_fround($w);
-; CHECK-PRECISE_F32: $d = SIMD_float32x4($x, $y, $z, $w);
-define <4 x float> @test_ctor(<4 x float> %v, float %x, float %y, float %z, float %w) {
- %a = insertelement <4 x float> undef, float %x, i32 0
- %b = insertelement <4 x float> %a, float %y, i32 1
- %c = insertelement <4 x float> %b, float %z, i32 2
- %d = insertelement <4 x float> %c, float %w, i32 3
- ret <4 x float> %d
-}
« no previous file with comments | « test/CodeGen/JS/simd-shuffle.ll ('k') | test/CodeGen/JS/unrolled-simd.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698