4 ms·
At this point we must ask which Update of VS 2015 as MS just replaced the Optimizer with an SSA based one. https://blogs.msdn.microsoft.com/vcblog/2016/05/04/ne
by cleeus 10y ago
At this point we must ask which Update of VS 2015 as MS just replaced the Optimizer with an SSA based one.
https://blogs.msdn.microsoft.com/vcblog/2016/05/04/new-code-optimizer/ https://blogs.msdn.microsoft.com/vcblog/2016/05/04/new-code-...
- brucedawson 10y agoA good point, but already answered in the article: > I recently noticed that it’s still an issue in VC++ 2015 Update 3
- gratilup 10y agoI'm the main developer of the new optimizer. It's a bit too much to say it replaces the old one, it's more of an addition. I was aware of this issue with initializing local arrays, it was on the TODO list - hopefully for the next VS.
- voltagex_ 10y agoAre you allowed to respond directly to the author in this case?
- apardoe-MSFT 10y agoThere's not much preventing any engineer at Microsoft from talking to developers. No lawyers need to be involved :-)
- ryuuchin 10y agoWhy isn't the ssa optimizer mentioned in the Update 3 release notes? Is it enabled by default in Update 3?
- brucedawson 10y agoI look forward to a fix, especially if the (I think) larger issue of large aggregates not being initialized efficiently is addressed. It feels like it is another instance of the same issue. I hope the Python script is helpful for finding some of the odd variants that currently exist.
- mappu 10y agoThere's also the Clang/C2 toolchain, an option in the installer.
- cokernel_hacker 10y agoClang/C2 doesn't use LLVM, it will use Microsoft's C2 backend.
- pbsd 10y agoThat may be the case, but whatever the Clang frontend sends to C2 does produce better code than the Microsoft frontend. It probably already folds the stores at the frontend level, instead of leaving it to the backend to figure out.