Remove workarounds for DevCom-11055227 - #6364
Remove workarounds for DevCom-11055227#6364Stephan T. Lavavej (StephanTLavavej) merged 2 commits into
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Pull request overview
Removes legacy DevCom-11055227 workaround patterns in the ARM64/NEON portions of vector_algorithms.cpp, primarily by standardizing small constant lookup tables as static constexpr and dropping now-obsolete transition commentary.
Changes:
- Converted several function-local constant arrays used for NEON loads (mask/weight tables) from
constexprtostatic constexpr. - Removed DevCom-11055227-related “TRANSITION” comments and adjacent explanatory comments tied to that workaround.
Show a summary per file
| File | Description |
|---|---|
| stl/src/vector_algorithms.cpp | Updates ARM64/NEON constant-table declarations and removes DevCom-11055227 workaround comments. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Low
|
What is the best practice for using static constexpr variables? Unless constrained by syntax, I generally don't proactively declare constexpr variables as static. |
Take address? Make it static! And arrays have their address implicitly taken. |
|
The best practice is for arrays to be For ordinary scalar There's an annoying exception that in actual |
That was fixed by WG21-P2647R1 in C++23. Maybe we can start relying on the change. |
|
I'm mirroring this to the MSVC-internal repo. Please notify me if any further changes are pushed, otherwise no action is required. |
e93c654
into
microsoft:main
🦾 🧹 😻 |
I have verified that these workarounds are no longer needed.
Closes #6363