File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1625,8 +1625,9 @@ extension ${Self} {
1625
1625
1626
1626
// We "shouldn't" need this, but the typechecker barfs on an expression
1627
1627
// in the test suite without it.
1628
- @inlinable // FIXME(inline-always)
1629
- @inline ( __always)
1628
+ // If replaced with @inline(__always) the init no longer gets
1629
+ // inlined in -Onone and this breaks the abi_v7k test in a subtle way.
1630
+ @_transparent
1630
1631
public init( _ v: Int ) {
1631
1632
_value = Builtin . sitofp_Int ${ word_bits} _FPIEEE${ bits} ( v. _value)
1632
1633
}
Original file line number Diff line number Diff line change 3
3
4
4
// REQUIRES: CPU=armv7k
5
5
// REQUIRES: OS=watchos
6
- // REQUIRES: rdar45306568
7
6
8
7
// CHECK-LABEL: define hidden swiftcc float @"$s8test_v7k9addFloats{{.*}}"(float, float)
9
8
// CHECK: fadd float %0, %1
@@ -179,7 +178,7 @@ func testSingleP(x: SinglePayload) -> Double {
179
178
// V7K-LABEL: _$s8test_v7k0A6MultiP
180
179
// V7K: vldr d16, [sp{{.*}}]
181
180
// V7K: vmov.f64 d0, d16
182
- // V7K: pop {{{.*}}}
181
+ // V7K: bx lr
183
182
// Backend will assign r0, r1 and r2 for input parameters and d0 for return values.
184
183
class Bignum { }
185
184
enum MultiPayload {
You can’t perform that action at this time.
0 commit comments