|
1 | | -# RUN: llvm-mc -triple=wasm32-unknown-unknown -mattr=+tail-call,+reference-types,atomics,+simd128,+nontrapping-fptoint,+exception-handling < %s | FileCheck %s |
| 1 | +# RUN: llvm-mc -triple=wasm32-unknown-unknown -mattr=+tail-call,+reference-types,atomics,+simd128,+nontrapping-fptoint < %s | FileCheck %s |
2 | 2 | # Check that it converts to .o without errors, but don't check any output: |
3 | | -# RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj -mattr=+tail-call,+reference-types,+atomics,+simd128,+nontrapping-fptoint,+exception-handling -o %t.o < %s |
| 3 | +# RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj -mattr=+tail-call,+reference-types,+atomics,+simd128,+nontrapping-fptoint -o %t.o < %s |
4 | 4 |
|
5 | 5 | .functype something1 () -> () |
6 | 6 | .functype something2 (i64) -> (i32, f64) |
@@ -107,19 +107,14 @@ test0: |
107 | 107 | #i32x4.trunc_sat_f32x4_s |
108 | 108 | f32.const 1.0 |
109 | 109 | i32.trunc_f32_s |
110 | | - try |
111 | 110 | i32.atomic.load 0 |
112 | 111 | i32.const 0 |
113 | 112 | memory.atomic.notify 0 |
114 | 113 | drop |
115 | 114 | .LBB0_3: |
116 | | - catch __cpp_exception |
117 | | - local.set 0 |
118 | | - end_try |
119 | 115 | i32.const .L.str |
120 | 116 | i32.load8_u .L.str+2 |
121 | 117 | i32.load16_u .L.str:p2align=0 |
122 | | - throw 0 |
123 | 118 | .LBB0_4: |
124 | 119 | #i32.trunc_sat_f32_s |
125 | 120 | global.get __stack_pointer |
@@ -249,19 +244,14 @@ empty_exnref_table: |
249 | 244 | # CHECK-NEXT: drop |
250 | 245 | # CHECK-NEXT: f32.const 0x1p0 |
251 | 246 | # CHECK-NEXT: i32.trunc_f32_s |
252 | | -# CHECK-NEXT: try |
253 | 247 | # CHECK-NEXT: i32.atomic.load 0 |
254 | 248 | # CHECK-NEXT: i32.const 0 |
255 | 249 | # CHECK-NEXT: memory.atomic.notify 0 |
256 | 250 | # CHECK-NEXT: drop |
257 | 251 | # CHECK-NEXT: .LBB0_3: |
258 | | -# CHECK-NEXT: catch __cpp_exception |
259 | | -# CHECK-NEXT: local.set 0 |
260 | | -# CHECK-NEXT: end_try |
261 | 252 | # CHECK-NEXT: i32.const .L.str |
262 | 253 | # CHECK-NEXT: i32.load8_u .L.str+2 |
263 | 254 | # CHECK-NEXT: i32.load16_u .L.str:p2align=0 |
264 | | -# CHECK-NEXT: throw 0 |
265 | 255 | # CHECK-NEXT: .LBB0_4: |
266 | 256 | # CHECK-NEXT: global.get __stack_pointer |
267 | 257 | # CHECK-NEXT: global.set __stack_pointer |
|
0 commit comments