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

Unified Diff: test/CodeGen/JS/alloca-contradiction.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/aliases.ll ('k') | test/CodeGen/JS/allocamanager.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/CodeGen/JS/alloca-contradiction.ll
diff --git a/test/CodeGen/JS/alloca-contradiction.ll b/test/CodeGen/JS/alloca-contradiction.ll
deleted file mode 100644
index 82b1bf87c9fed66224489bff717652ecea0d74c1..0000000000000000000000000000000000000000
--- a/test/CodeGen/JS/alloca-contradiction.ll
+++ /dev/null
@@ -1,35 +0,0 @@
-; RUN: llc < %s
-
-; In theory, the @llvm.lifetime intrinsics shouldn't contradict each other, but
-; in practice they apparently do sometimes. When they do, we should probably be
-; conservative.
-
-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"
-
-; Don't merge these two allocas, even though lifetime markers may initially
-; appear to indicate that it's safe, because they also indicate that it's
-; unsafe.
-
-; CHECK: foo
-; CHECK: HEAP8[$p] = 0;
-; CHECK: HEAP8[$q] = 1;
-define void @foo() nounwind {
-entry:
- %p = alloca i8
- %q = alloca i8
- br label %loop
-
-loop:
- call void @llvm.lifetime.end(i64 1, i8* %q)
- store volatile i8 0, i8* %p
- store volatile i8 1, i8* %q
- call void @llvm.lifetime.start(i64 1, i8* %p)
- br i1 undef, label %loop, label %end
-
-end: ; preds = %red
- ret void
-}
-
-declare void @llvm.lifetime.start(i64, i8* nocapture) nounwind
-declare void @llvm.lifetime.end(i64, i8* nocapture) nounwind
« no previous file with comments | « test/CodeGen/JS/aliases.ll ('k') | test/CodeGen/JS/allocamanager.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698