Turn off speculative devirtualization by default. #29359
Conversation
|
\cc @airspeedswift |
|
Thanks! |
|
@swift-ci please benchmark |
|
@swift-ci please test |
Performance: -O
Code size: -O
Performance: -Osize
Code size: -OsizePerformance: -Onone
Code size: -swiftlibsHow to read the dataThe tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.If you see any unexpected regressions, you should consider fixing the Noise: Sometimes the performance results (not code size!) contain false Hardware Overview |
|
Build failed |
|
Build failed |
|
@swift-ci please test |
|
Build failed |
|
Build failed |
f7a8a8e to
510bcd4
Compare
|
@swift-ci please test |
|
Build failed |
|
Build failed |
|
@swift-ci please test |
|
Build failed |
|
Build failed |
…rt enabling the pass. Fixes rdar://58778959 and rdar://58429282
eaaf641 to
4e4981a
Compare
|
@swift-ci please smoke test |
This is a cherrypick of swiftlang#29359 Explanation: Disable speculative devirtualization optimization. The optimization did not give significant performance wins. Disabling it improves code size. Risk: Low. No significant performance hit is expected. Issue: rdar://problem/58778959 Testing: Performance tests and regression tests Reviewer: Erik Eckstein
This is a cherrypick of #29359 Explanation: Disable speculative devirtualization optimization. The optimization did not give significant performance wins. Disabling it improves code size. Risk: Low. No significant performance hit is expected. Issue: rdar://problem/58778959 Testing: Performance tests and regression tests Reviewer: Erik Eckstein
Also, add a flag to enable the pass.
Fixes rdar://58778959 and rdar://58429282