Commit Graph

6 Commits

Author SHA1 Message Date
Erik Eckstein
c6408387a7 tests: add a missing -sil-print-types in validation-test/SILOptimizer/rdar114699006.swift
rdar://140405972
2024-11-22 14:32:52 +01:00
Daniel Rodríguez Troitiño
6b27d33596 [validation-test] Add missing REQUIRES: macosx-x86_64 to test (#77357)
This test forces the usage of macosx-x86_64 and will fail if the x86_64
slice of the stdlib has not been built. Mark it as only running on
macosx-x86_64 to avoid the test failure in that case.
2024-11-02 19:00:22 -07:00
Erik Eckstein
c1c3f76885 tests: fix SILOptimizer/rdar114699006.swift after a mangling change
Also enable this test for all 64 bit platforms, like arm64
2024-08-27 20:04:37 +02:00
Karoy Lorentey
9725b892cc [test] More test updates 2024-03-18 13:27:46 -07:00
Nate Chandler
b3e009003f [Test] Loosened check lines.
The metatype param may or may not be removed from the callee during
specialization.  If it is, there is only one argument, if it is not,
there are two arguments.  None of that is relevant to this test case.
It is just verifying that the strong_retain occurs before the apply.
2023-08-31 15:19:57 -07:00
Nate Chandler
504ce43753 [stdlib] Delete bad @_effects(readonly) annotation
`Dictionary.init(dictionaryLiteral:)` was annotated
`@_effects(readonly)` which means among other things that it doesn't
release any references. Being an init, however, it consumes its
arguments, and so does in fact release.

rdar://114699006
2023-08-30 12:33:58 -07:00