File tree 5 files changed +6
-6
lines changed
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 166
166
// GENERIC-INCLUDE-DAG: #define __wasm_mutable_globals__ 1{{$}}
167
167
// GENERIC-INCLUDE-DAG: #define __wasm_reference_types__ 1{{$}}
168
168
// GENERIC-INCLUDE-DAG: #define __wasm_sign_ext__ 1{{$}}
169
+ // GENERIC-INCLUDE-DAG: #define __wasm_nontrapping_fptoint__ 1{{$}}
170
+ // GENERIC-INCLUDE-DAG: #define __wasm_bulk_memory__ 1{{$}}
169
171
//
170
172
// RUN: %clang -E -dM %s -o - 2>&1 \
171
173
// RUN: -target wasm32-unknown-unknown -mcpu=generic \
175
177
// RUN: | FileCheck %s -check-prefix=GENERIC
176
178
//
177
179
// GENERIC-NOT: #define __wasm_atomics__ 1{{$}}
178
- // GENERIC-NOT: #define __wasm_bulk_memory__ 1{{$}}
179
180
// GENERIC-NOT: #define __wasm_exception_handling__ 1{{$}}
180
181
// GENERIC-NOT: #define __wasm_extended_const__ 1{{$}}
181
182
// GENERIC-NOT: #define __wasm__fp16__ 1{{$}}
182
183
// GENERIC-NOT: #define __wasm_multimemory__ 1{{$}}
183
- // GENERIC-NOT: #define __wasm_nontrapping_fptoint__ 1{{$}}
184
184
// GENERIC-NOT: #define __wasm_relaxed_simd__ 1{{$}}
185
185
// GENERIC-NOT: #define __wasm_simd128__ 1{{$}}
186
186
// GENERIC-NOT: #define __wasm_tail_call__ 1{{$}}
Original file line number Diff line number Diff line change 1
- ; RUN: llc -filetype=obj %s -o %t.o
1
+ ; RUN: llc -filetype=obj -mattr=-bulk-memory %s -o %t.o
2
2
; RUN: wasm-ld -no-gc-sections --no-entry -o %t.wasm %t.o
3
3
; RUN: obj2yaml %t.wasm | FileCheck %s --check-prefixes=CHECK,NO-BSS
4
4
; RUN: wasm-ld -no-gc-sections --no-entry --import-memory -o %t.bss.wasm %t.o
Original file line number Diff line number Diff line change 1
- ; RUN: llc --mtriple=wasm32-unknown-unknown -filetype=obj %s -o %t.atomics.o -mattr=+atomics
1
+ ; RUN: llc --mtriple=wasm32-unknown-unknown -filetype=obj %s -o %t.atomics.o -mattr=+atomics,-bulk-memory
2
2
; RUN: llc --mtriple=wasm32-unknown-unknown -filetype=obj %s -o %t.bulk-mem.o -mattr=+bulk-memory
3
3
; RUN: llc --mtriple=wasm64-unknown-unknown -filetype=obj %s -o %t.bulk-mem64.o -mattr=+bulk-memory
4
4
; RUN: llc --mtriple=wasm32-unknown-unknown -filetype=obj %s -o %t.atomics.bulk-mem.o -mattr=+atomics,+bulk-memory
Original file line number Diff line number Diff line change 2
2
; RUN: llvm-as -o %t.o %s
3
3
; RUN: llvm-as -o %t2.o %S/Inputs/libcall-archive.ll
4
4
; RUN: llvm-ar rcs %t.a %t2.o
5
- ; RUN: wasm-ld -o %t %t.o %t.a
5
+ ; RUN: wasm-ld -mllvm -mattr=-bulk-memory - o %t %t.o %t.a
6
6
; RUN: obj2yaml %t | FileCheck %s
7
7
8
8
target datalayout = "e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-n32:64-S128"
Original file line number Diff line number Diff line change 2
2
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t_main.o %t/main.s
3
3
# RUN: llvm-as %S/Inputs/foo.ll -o %t_foo.o
4
4
# RUN: llvm-as %S/Inputs/libcall.ll -o %t_libcall.o
5
- # RUN: wasm-ld %t_main.o %t_libcall.o %t_foo.o %p/Inputs/stub.so -o %t.wasm
5
+ # RUN: wasm-ld -mllvm -mattr=-bulk-memory %t_main.o %t_libcall.o %t_foo.o %p/Inputs/stub.so -o %t.wasm
6
6
# RUN: obj2yaml %t.wasm | FileCheck %s
7
7
8
8
# The function `func_with_libcall` will generate an undefined reference to
You can’t perform that action at this time.
0 commit comments