mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The confusion here was around a test that was testing the behavior when one /does not/ guard a polymorphic builtin with a _isConcrete. Specifically, without _isConcrete, one gets weird behavior where in debug we crash, but in release we may not due to further inlining/specialization. With _isConcrete, we never crashand get the appropriate behavior. This commit works by changing the current run of the polymorphic builtin test to force -Onone and adds an extra -O run that way we validate both behaviors.
3.9 KiB
3.9 KiB