summaryrefslogtreecommitdiff
path: root/test/wasm/lto/atomics.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm/lto/atomics.ll')
-rw-r--r--test/wasm/lto/atomics.ll14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/wasm/lto/atomics.ll b/test/wasm/lto/atomics.ll
deleted file mode 100644
index a5a82ae2a5fca..0000000000000
--- a/test/wasm/lto/atomics.ll
+++ /dev/null
@@ -1,14 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-; RUN: wasm-ld %t.o -o %t.wasm -lto-O0
-; Atomic operations with fail to compile if the ThreadModel is not
-; correctly set to Single (i.e. if atomics are not lowered to regular ops).
-
-target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
-target triple = "wasm32-unknown-unknown-wasm"
-
-@foo = hidden global i32 1
-
-define void @_start() {
- %1 = load atomic i32, i32* @foo unordered, align 4
- ret void
-}