mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 20:29:26 -06:00
Replace overcomplicated numeric priority system with clearer preference list: - Use actual instruction names from code elements instead of section ID parsing - Replace arbitrary 1-10 priorities with explicit SECTION_PREFERENCE list - Simplify data structures by removing nested tuples - Improve variant collection with better syntax section handling This refactoring maintains the same functionality (121 PTX instructions generated) while making the code ~40 lines simpler and much more maintainable. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>