Skip to content

Commit bc783c4

Browse files
authored
test/stdlib: cover wasm32 in FloatingPointIR.swift (#67138)
This makes sure that floating point IR doesn't regress when targeting wasm32.
1 parent 9943f73 commit bc783c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/stdlib/FloatingPointIR.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ func testConstantFoldFloatLiterals() {
5656

5757
// s390x: call swiftcc void @"$s15FloatingPointIR13acceptFloat32yySfF{{.*}}"(float 1.000000e+00)
5858
// s390x: call swiftcc void @"$s15FloatingPointIR13acceptFloat64yySdF{{.*}}"(double 1.000000e+00)
59+
60+
// wasm32: call swiftcc void @"$s15FloatingPointIR13acceptFloat32yySfF{{.*}}"(float 1.000000e+00)
61+
// wasm32: call swiftcc void @"$s15FloatingPointIR13acceptFloat64yySdF{{.*}}"(double 1.000000e+00)

0 commit comments

Comments
 (0)