[clang] [llvm] [RISCV] Sort the CPU list returned by fillValid(Tune)CPUArchList (PR #243708)

Pengcheng Wang via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 17 22:22:15 PST 2026


================
@@ -54,8 +54,8 @@
 // RISCV64-SAME: {{^}}, sifive-x280
 // RISCV64-SAME: {{^}}, sifive-x390
 // RISCV64-SAME: {{^}}, spacemit-a100
-// RISCV64-SAME: {{^}}, spacemit-x60
 // RISCV64-SAME: {{^}}, spacemit-x100
+// RISCV64-SAME: {{^}}, spacemit-x60
----------------
wangpc-pp wrote:

Sort by the vendor name first and then follow the order how they are defined in the .td? 

https://github.com/llvm/llvm-project/pull/243708


More information about the cfe-commits mailing list