[all-commits] [llvm/llvm-project] e308b8: [RISCV] Fix arch string parsing for multi-characte...

Yueh-Ting (eop) Chen via All-commits all-commits at lists.llvm.org
Thu Dec 9 21:13:57 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e308b8e0c71b5ce783035d73722f59d395245cf9
      https://github.com/llvm/llvm-project/commit/e308b8e0c71b5ce783035d73722f59d395245cf9
  Author: eopXD <eop.chen at sifive.com>
  Date:   2021-12-09 (Thu, 09 Dec 2021)

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

  Log Message:
  -----------
  [RISCV] Fix arch string parsing for multi-character extensions

Current implementation can't parse extension names that contains digits
correctly (e.g. `zvl128b`). This patch fixes it.

Reviewed By: asb

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




More information about the All-commits mailing list