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

Side by Side Diff: test/CodeGen/JS/getelementptr.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/ffis-f32.ll ('k') | test/CodeGen/JS/global-alias.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: opt -S < %s -expand-getelementptr | llc | FileCheck %s
2
3 ; Test simple getelementptr codegen.
4
5 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"
6 target triple = "asmjs-unknown-emscripten"
7
8 ; CHECK: function _getelementptr([[VAL_P:\$[a-z_]+]]) {
9 ; CHECK: [[GEP:\$[a-z_]+]] = (([[GEPINT:\$[a-z_]+]]) + 588)|0;
10 define i32* @getelementptr([10 x [12 x i32] ]* %p) {
11 %t = getelementptr [10 x [12 x i32]], [10 x [12 x i32]]* %p, i32 1, i32 2, i32 3
12 ret i32* %t
13 }
OLDNEW
« no previous file with comments | « test/CodeGen/JS/ffis-f32.ll ('k') | test/CodeGen/JS/global-alias.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698