summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/wasm-target-features.c
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2019-03-02 00:18:09 +0000
committerThomas Lively <tlively@google.com>2019-03-02 00:18:09 +0000
commit70f5fc13691d503df28f885f8742f30d83a83307 (patch)
tree54162868c03d4f554ae133d98b3d7adeafd8d259 /clang/test/Preprocessor/wasm-target-features.c
parentf5a8c28e7e28e0969e7e9608487ab5a061379393 (diff)
downloadbcm5719-llvm-70f5fc13691d503df28f885f8742f30d83a83307.tar.gz
bcm5719-llvm-70f5fc13691d503df28f885f8742f30d83a83307.zip
[WebAssembly] Temporarily disable bulk-memory with -pthread
Summary: To prevent the instability of bulk-memory in the wasm backend from blocking separate pthread testing, temporarily remove the logic that adds -mbulk-memory in the presence of -pthread. Since browsers will ship bulk memory before or alongside threads, this change will be reverted as soon as bulk memory has stabilized in the backend. Reviewers: sbc100 Subscribers: dschuff, jgravelle-google, aheejin, sunfish, jfb, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58854 llvm-svn: 355248
Diffstat (limited to 'clang/test/Preprocessor/wasm-target-features.c')
-rw-r--r--clang/test/Preprocessor/wasm-target-features.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/test/Preprocessor/wasm-target-features.c b/clang/test/Preprocessor/wasm-target-features.c
index 80e299247c7..d32c1b00be4 100644
--- a/clang/test/Preprocessor/wasm-target-features.c
+++ b/clang/test/Preprocessor/wasm-target-features.c
@@ -59,8 +59,7 @@
// RUN: -target wasm64-unknown-unknown -matomics \
// RUN: | FileCheck %s -check-prefix=ATOMICS
//
-// ATOMICS-DAG:#define __wasm_atomics__ 1{{$}}
-// ATOMICS-DAG:#define __wasm_bulk_memory__ 1{{$}}
+// ATOMICS:#define __wasm_atomics__ 1{{$}}
// RUN: %clang -E -dM %s -o - 2>&1 \
// RUN: -target wasm32-unknown-unknown -pthread \
@@ -69,8 +68,7 @@
// RUN: -target wasm64-unknown-unknown -pthread \
// RUN: | FileCheck %s -check-prefix=PTHREAD
//
-// PTHREAD-DAG:#define __wasm_atomics__ 1{{$}}
-// PTHREAD-DAG:#define __wasm_bulk_memory__ 1{{$}}
+// PTHREAD:#define __wasm_atomics__ 1{{$}}
// RUN: %clang -E -dM %s -o - 2>&1 \
// RUN: -target wasm32-unknown-unknown -mcpu=mvp \
OpenPOWER on IntegriCloud