Commit Graph

5 Commits

Author SHA1 Message Date
Arnold Schwaighofer
679a4d8cc1 Add fixes test/SILOptimizer test 2023-06-20 13:15:31 -07:00
Arnold Schwaighofer
c1a93e0bde Move tests over to use the %use_no_opaque_pointers option 2023-06-14 10:49:48 -07:00
Arnold Schwaighofer
d44b7927be Fix tests 2022-07-15 13:12:03 -07:00
Erik Eckstein
39bb14b094 change mangling prefix from $S to $s
This is the final ABI mangling prefix

rdar://problem/38471478
2018-09-19 13:55:11 -07:00
Joe Shajrawi
c22c96b9c5 [Devirtualize] Support devirtualization of witness methods when we have a polymorphic type and no substitutions required
SILGen is generating code with “shadow” requirements:
convention(witness_method: ApplyRegStruct) <τ_0_0 where τ_0_0 == Type> (@inout Array<Type>) -> () {
// no use of τ_0_0 inside

In this case we have an empty substitution map but a polymorphic function type

We should relax the assert when creating apply instructions to support this case.
2018-03-08 10:46:44 -08:00