Re:LLVM Is Smarter Than Me
by moomin on Monday April 22, 2024 @04:27AM
(#40112397)
Yeah, one suspects this is a dumb micro-optimisation to make benchmark figures look better with little practical application.
[ Parent
| on HN ]
Re:LLVM Is Smarter Than Me
by lambdaxyzw on Monday April 22, 2024 @05:29AM
(#40112687)
Doing micro optimizations is precisely the compiler's job - so I don't have to worry about it.
Yeah, but all micro optimisations come with costs, from compiler time to maintenance overhead. Someone's still got to ask if it's worth it. And in this case, I just can't see many regular programs containing code likely to trip this, but benchmarks? All the time.