Skip to content

Commit 6fe9845

Browse files
committed
Disable two tests on wasm
PR#77502 disabled aggresive reg2mem heuristic for wasm. These two tests check IR patterns that are influenced by said heuristic.
1 parent 3c22407 commit 6fe9845

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/IRGen/loadable_by_address_address_assignment.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
44

5+
// wasm currently disables aggressive reg2mem
6+
// UNSUPPORTED: wasm
7+
58
public struct LargeThing {
69
var s0 : String = ""
710
var s1 : String = ""

test/IRGen/loadable_by_address_reg2mem_fixed_array.sil

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// REQUIRES: swift_feature_BuiltinModule
66
// REQUIRES: swift_feature_ValueGenerics
77

8+
// wasm currently disables aggressive reg2mem
9+
// UNSUPPORTED: wasm
10+
811
import Builtin
912
import Swift
1013

0 commit comments

Comments
 (0)