Skip to content

Commit 5285afd

Browse files
committed
[SIMD] Use @_alwaysEmitIntoClient rather than @_transparent
1 parent 8751693 commit 5285afd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/SIMDVector.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,12 +1410,12 @@ where T: SIMD, T.Scalar: FloatingPoint {
14101410

14111411
// Break the ambiguity between AdditiveArithmetic and SIMD for += and -=
14121412
extension SIMD where Self: AdditiveArithmetic, Self.Scalar: FloatingPoint {
1413-
@_transparent
1413+
@_alwaysEmitIntoClient
14141414
public static func +=(lhs: inout Self, rhs: Self) {
14151415
lhs = lhs + rhs
14161416
}
14171417

1418-
@_transparent
1418+
@_alwaysEmitIntoClient
14191419
public static func -=(lhs: inout Self, rhs: Self) {
14201420
lhs = lhs - rhs
14211421
}

0 commit comments

Comments
 (0)