mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The optimizer managed to eliminate this entire benchmark, resulting in useless 0 second timings. I made a couple of changes to ensure the optimizer cannot eliminate the loop: * The individual checks now actually use the loop parameter * `identity()` is used to ensure conservatism While here, I reduced the loop count since these benchmarks seem to run for a long time.
19 KiB
19 KiB