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

Side by Side Diff: test/CodeGen/JS/expand-insertextract.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 unified diff | Download patch
« no previous file with comments | « test/CodeGen/JS/expand-i64.ll ('k') | test/CodeGen/JS/expect-intrinsics.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; RUN: llc < %s | FileCheck %s
2
3 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"
4 target triple = "asmjs-unknown-emscripten"
5
6 ; CHECK: sp = STACKTOP;
7 ; CHECK: STACKTOP = STACKTOP + 16|0;
8 ; CHECK: $0 = sp;
9 ; CHECK: SIMD_float32x4_store(HEAPU8, $0, $p);
10 ; CHECK: $1 = (($0) + ($i<<2)|0);
11 ; CHECK: $2 = +HEAPF32[$1>>2];
12 ; CHECK: STACKTOP = sp;return (+$2);
13 ; CHECK: }
14 define float @ext(<4 x float> %p, i32 %i) {
15 %f = extractelement <4 x float> %p, i32 %i
16 ret float %f
17 }
18
19 ; CHECK: sp = STACKTOP;
20 ; CHECK: STACKTOP = STACKTOP + 16|0;
21 ; CHECK: $0 = sp;
22 ; CHECK: SIMD_float32x4_store(HEAPU8, $0, $p);
23 ; CHECK: $1 = (($0) + ($i<<2)|0);
24 ; CHECK: HEAPF32[$1>>2] = $f;
25 ; CHECK: $2 = SIMD_float32x4_load(HEAPU8, $0);
26 ; CHECK: STACKTOP = sp;return (SIMD_float32x4_check($2));
27 ; CHECK: }
28 define <4 x float> @ins(<4 x float> %p, float %f, i32 %i) {
29 %v = insertelement <4 x float> %p, float %f, i32 %i
30 ret <4 x float> %v
31 }
OLDNEW
« no previous file with comments | « test/CodeGen/JS/expand-i64.ll ('k') | test/CodeGen/JS/expect-intrinsics.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698