Skip to content

Commit 84dfea0

Browse files
committed
Update tests.
1 parent 7d55b35 commit 84dfea0

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

llvm/test/CodeGen/WebAssembly/cfg-stackify-eh-legacy.ll

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
; REQUIRES: asserts
2-
; RUN: llc < %s -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -disable-block-placement -verify-machineinstrs -fast-isel=false -machine-sink-split-probability-threshold=0 -cgp-freq-ratio-to-skip-merge=1000 -wasm-enable-eh -exception-model=wasm -mattr=+exception-handling | FileCheck %s
3-
; RUN: llc < %s -disable-wasm-fallthrough-return-opt -disable-block-placement -verify-machineinstrs -fast-isel=false -machine-sink-split-probability-threshold=0 -cgp-freq-ratio-to-skip-merge=1000 -wasm-enable-eh -exception-model=wasm -mattr=+exception-handling
4-
; RUN: llc < %s -O0 -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -verify-machineinstrs -wasm-enable-eh -exception-model=wasm -mattr=+exception-handling | FileCheck %s --check-prefix=NOOPT
5-
; RUN: llc < %s -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -disable-block-placement -verify-machineinstrs -fast-isel=false -machine-sink-split-probability-threshold=0 -cgp-freq-ratio-to-skip-merge=1000 -wasm-enable-eh -exception-model=wasm -mattr=+exception-handling -wasm-disable-ehpad-sort -stats 2>&1 | FileCheck %s --check-prefix=NOSORT
6-
; RUN: llc < %s -disable-wasm-fallthrough-return-opt -disable-block-placement -verify-machineinstrs -fast-isel=false -machine-sink-split-probability-threshold=0 -cgp-freq-ratio-to-skip-merge=1000 -wasm-enable-eh -exception-model=wasm -mattr=+exception-handling -wasm-disable-ehpad-sort | FileCheck %s --check-prefix=NOSORT-LOCALS
2+
; RUN: llc < %s -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -disable-block-placement -verify-machineinstrs -fast-isel=false -machine-sink-split-probability-threshold=0 -cgp-freq-ratio-to-skip-merge=1000 -wasm-enable-eh -exception-model=wasm -mattr=+exception-handling,bulk-memory | FileCheck %s
3+
; RUN: llc < %s -disable-wasm-fallthrough-return-opt -disable-block-placement -verify-machineinstrs -fast-isel=false -machine-sink-split-probability-threshold=0 -cgp-freq-ratio-to-skip-merge=1000 -wasm-enable-eh -exception-model=wasm -mattr=+exception-handling,bulk-memory
4+
; RUN: llc < %s -O0 -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -verify-machineinstrs -wasm-enable-eh -exception-model=wasm -mattr=+exception-handling,-bulk-memory | FileCheck %s --check-prefix=NOOPT
5+
; RUN: llc < %s -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -disable-block-placement -verify-machineinstrs -fast-isel=false -machine-sink-split-probability-threshold=0 -cgp-freq-ratio-to-skip-merge=1000 -wasm-enable-eh -exception-model=wasm -mattr=+exception-handling,-bulk-memory -wasm-disable-ehpad-sort -stats 2>&1 | FileCheck %s --check-prefix=NOSORT
6+
; RUN: llc < %s -disable-wasm-fallthrough-return-opt -disable-block-placement -verify-machineinstrs -fast-isel=false -machine-sink-split-probability-threshold=0 -cgp-freq-ratio-to-skip-merge=1000 -wasm-enable-eh -exception-model=wasm -mattr=+exception-handling,-bulk-memory -wasm-disable-ehpad-sort | FileCheck %s --check-prefix=NOSORT-LOCALS
77

88
target triple = "wasm32-unknown-unknown"
99

llvm/test/CodeGen/WebAssembly/target-features-cpus.ll

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,20 @@ target triple = "wasm32-unknown-unknown"
1313

1414
; generic: +multivalue, +mutable-globals, +reference-types, +sign-ext
1515
; GENERIC-LABEL: .custom_section.target_features,"",@
16-
; GENERIC-NEXT: .int8 4
16+
; GENERIC-NEXT: .int8 6
17+
; GENERIC-NEXT: .int8 43
18+
; GENERIC-NEXT: .int8 11
19+
; GENERIC-NEXT: .ascii "bulk-memory"
1720
; GENERIC-NEXT: .int8 43
1821
; GENERIC-NEXT: .int8 10
1922
; GENERIC-NEXT: .ascii "multivalue"
2023
; GENERIC-NEXT: .int8 43
2124
; GENERIC-NEXT: .int8 15
2225
; GENERIC-NEXT: .ascii "mutable-globals"
2326
; GENERIC-NEXT: .int8 43
27+
; GENERIC-NEXT: .int8 19
28+
; GENERIC-NEXT: .ascii "nontrapping-fptoint"
29+
; GENERIC-NEXT: .int8 43
2430
; GENERIC-NEXT: .int8 15
2531
; GENERIC-NEXT: .ascii "reference-types"
2632
; GENERIC-NEXT: .int8 43

llvm/test/MC/WebAssembly/extern-functype-intrinsic.ll

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: llc %s -o - | FileCheck %s
2-
; RUN: llc %s -o - | llvm-mc -triple=wasm32-unknown-unknown | FileCheck %s
1+
; RUN: llc %s -mattr=-bulk-memory -o - | FileCheck %s
2+
; RUN: llc %s -mattr=-bulk-memory -o - | llvm-mc -triple=wasm32-unknown-unknown | FileCheck %s
33

44
; ModuleID = 'test.c'
55
source_filename = "test.c"

llvm/test/MC/WebAssembly/libcall.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s
1+
; RUN: llc -filetype=obj -mattr=-bulk-memory %s -o - | obj2yaml | FileCheck %s
22

33
target triple = "wasm32-unknown-unknown"
44

0 commit comments

Comments
 (0)