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

Unified Diff: test/Transforms/NaCl/resolve-pnacl-intrinsics-lock-free.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/Transforms/NaCl/expand-varargs-emscripten.ll ('k') | tools/bugpoint/CMakeLists.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Transforms/NaCl/resolve-pnacl-intrinsics-lock-free.ll
diff --git a/test/Transforms/NaCl/resolve-pnacl-intrinsics-lock-free.ll b/test/Transforms/NaCl/resolve-pnacl-intrinsics-lock-free.ll
index ba4f6e6a1c7fa3022731af9ac7a49fe0b1fa55ac..25fcf0de2b9d554720bbaea471cc603b19672b9e 100644
--- a/test/Transforms/NaCl/resolve-pnacl-intrinsics-lock-free.ll
+++ b/test/Transforms/NaCl/resolve-pnacl-intrinsics-lock-free.ll
@@ -4,7 +4,6 @@
; RUN: opt < %s -resolve-pnacl-intrinsics -mtriple=i386 -S | FileCheck %s -check-prefix=X8632
; RUN: opt < %s -resolve-pnacl-intrinsics -mtriple=arm -S | FileCheck %s -check-prefix=ARM32
; RUN: opt < %s -resolve-pnacl-intrinsics -mtriple=mipsel -S | FileCheck %s -check-prefix=MIPS32
-; RUN: opt < %s -resolve-pnacl-intrinsics -mtriple=asmjs -S | FileCheck %s -check-prefix=ASMJS
; CLEANED-NOT: call {{.*}} @llvm.nacl.atomic
@@ -23,12 +22,10 @@ declare void @longjmp(i8*, i32)
; X8632-LABEL: @test_is_lock_free_1(
; ARM32-LABEL: @test_is_lock_free_1(
; MIPS32-LABEL: @test_is_lock_free_1(
-; ASMJS-LABEL: @test_is_lock_free_1(
; X8664: ret i1 true
; X8632: ret i1 true
; ARM32: ret i1 true
; MIPS32: ret i1 true
-; ASMJS: ret i1 true
define i1 @test_is_lock_free_1(i8* %ptr) {
%res = call i1 @llvm.nacl.atomic.is.lock.free(i32 1, i8* %ptr)
ret i1 %res
@@ -38,12 +35,10 @@ define i1 @test_is_lock_free_1(i8* %ptr) {
; X8632-LABEL: @test_is_lock_free_2(
; ARM32-LABEL: @test_is_lock_free_2(
; MIPS32-LABEL: @test_is_lock_free_2(
-; ASMJS-LABEL: @test_is_lock_free_2(
; X8664: ret i1 true
; X8632: ret i1 true
; ARM32: ret i1 true
; MIPS32: ret i1 true
-; ASMJS: ret i1 true
define i1 @test_is_lock_free_2(i16* %ptr) {
%ptr2 = bitcast i16* %ptr to i8*
%res = call i1 @llvm.nacl.atomic.is.lock.free(i32 2, i8* %ptr2)
@@ -54,12 +49,10 @@ define i1 @test_is_lock_free_2(i16* %ptr) {
; X8632-LABEL: @test_is_lock_free_4(
; ARM32-LABEL: @test_is_lock_free_4(
; MIPS32-LABEL: @test_is_lock_free_4(
-; ASMJS-LABEL: @test_is_lock_free_4(
; X8664: ret i1 true
; X8632: ret i1 true
; ARM32: ret i1 true
; MIPS32: ret i1 true
-; ASMJS: ret i1 true
define i1 @test_is_lock_free_4(i32* %ptr) {
%ptr2 = bitcast i32* %ptr to i8*
%res = call i1 @llvm.nacl.atomic.is.lock.free(i32 4, i8* %ptr2)
@@ -70,12 +63,10 @@ define i1 @test_is_lock_free_4(i32* %ptr) {
; X8632-LABEL: @test_is_lock_free_8(
; ARM32-LABEL: @test_is_lock_free_8(
; MIPS32-LABEL: @test_is_lock_free_8(
-; ASMJS-LABEL: @test_is_lock_free_8(
; X8664: ret i1 true
; X8632: ret i1 true
; ARM32: ret i1 true
; MIPS32: ret i1 false
-; ASMJS: ret i1 false
define i1 @test_is_lock_free_8(i64* %ptr) {
%ptr2 = bitcast i64* %ptr to i8*
%res = call i1 @llvm.nacl.atomic.is.lock.free(i32 8, i8* %ptr2)
@@ -86,12 +77,10 @@ define i1 @test_is_lock_free_8(i64* %ptr) {
; X8632-LABEL: @test_is_lock_free_16(
; ARM32-LABEL: @test_is_lock_free_16(
; MIPS32-LABEL: @test_is_lock_free_16(
-; ASMJS-LABEL: @test_is_lock_free_16(
; X8664: ret i1 false
; X8632: ret i1 false
; ARM32: ret i1 false
; MIPS32: ret i1 false
-; ASMJS: ret i1 false
define i1 @test_is_lock_free_16(i128* %ptr) {
%ptr2 = bitcast i128* %ptr to i8*
%res = call i1 @llvm.nacl.atomic.is.lock.free(i32 16, i8* %ptr2)
« no previous file with comments | « test/Transforms/NaCl/expand-varargs-emscripten.ll ('k') | tools/bugpoint/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698