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/invariant-intrinsics.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/insertelement-chains.ll ('k') | test/CodeGen/JS/lifetime-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 | not grep invariant
2
3 ; llc currently emits no code or bookkeeping for invariant intrinsic calls
4 ; or declarations.
5
6 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"
7 target triple = "asmjs-unknown-emscripten"
8
9 declare void @bar(i8*)
10
11 define void @foo() {
12 %p = alloca i8
13 %i = call {}* @llvm.invariant.start(i64 1, i8* %p)
14 call void @bar(i8* %p)
15 call void @llvm.invariant.end({}* %i, i64 1, i8* %p)
16 ret void
17 }
18
19 declare {}* @llvm.invariant.start(i64, i8* nocapture)
20 declare void @llvm.invariant.end({}*, i64, i8* nocapture)
OLDNEW
« no previous file with comments | « test/CodeGen/JS/insertelement-chains.ll ('k') | test/CodeGen/JS/lifetime-intrinsics.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698