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

Unified Diff: test/CodeGen/JS/expect-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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/CodeGen/JS/expand-insertextract.ll ('k') | test/CodeGen/JS/ffis.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/CodeGen/JS/expect-intrinsics.ll
diff --git a/test/CodeGen/JS/expect-intrinsics.ll b/test/CodeGen/JS/expect-intrinsics.ll
deleted file mode 100644
index 6d2cba459260f853ba40856ea19d0a05c9f9cc99..0000000000000000000000000000000000000000
--- a/test/CodeGen/JS/expect-intrinsics.ll
+++ /dev/null
@@ -1,30 +0,0 @@
-; RUN: llc < %s | FileCheck %s
-
-; Handle the llvm.expect intrinsic.
-
-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"
-
-; CHECK: $expval = $x;
-; CHECK: $tobool = ($expval|0)!=(0);
-
-define void @foo(i32 %x) {
-entry:
- %expval = call i32 @llvm.expect.i32(i32 %x, i32 0)
- %tobool = icmp ne i32 %expval, 0
- br i1 %tobool, label %if.then, label %if.end
-
-if.then:
- call void @callee()
- br label %if.end
-
-if.end:
- ret void
-}
-
-; Function Attrs: nounwind readnone
-declare i32 @llvm.expect.i32(i32, i32) #0
-
-declare void @callee()
-
-attributes #0 = { nounwind readnone }
« no previous file with comments | « test/CodeGen/JS/expand-insertextract.ll ('k') | test/CodeGen/JS/ffis.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698