[all-commits] [llvm/llvm-project] f98ca3: [RISCV] Modify arch string parsing order according...

joshua-arch1 via All-commits all-commits at lists.llvm.org
Tue Apr 18 01:20:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f98ca363bed7405a23ad4b77167e39505a1ca9dd
      https://github.com/llvm/llvm-project/commit/f98ca363bed7405a23ad4b77167e39505a1ca9dd
  Author: Jun Sha (Joshua) <cooper.joshua at linux.alibaba.com>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

  Changed paths:
    M clang/test/Driver/riscv-arch.c
    M llvm/lib/Support/RISCVISAInfo.cpp

  Log Message:
  -----------
  [RISCV] Modify arch string parsing order according to latest riscv spec

According to latest risc-v spec, the canonical order in which extension names must appear in the name string specified in Table 29.1 is different from before. In the latest table, non-standard extensions must be listed after all standard extensions. To keep consistent, we now change the parsing order in parseArchString().

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D148315




More information about the All-commits mailing list