[all-commits] [llvm/llvm-project] cb743d: [RISCV] Consistently error for arch strings with t...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Tue Mar 14 12:13:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb743dd8371597f75fac62b8b854e068d215373a
      https://github.com/llvm/llvm-project/commit/cb743dd8371597f75fac62b8b854e068d215373a
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M llvm/lib/Support/RISCVISAInfo.cpp
    M llvm/unittests/Support/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Consistently error for arch strings with trailing _

RISCVISAInfo::parseArchString would sometimes error for arch strings
with a trailing _ and sometimes accept them. This patch makes it
consistently error.

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




More information about the All-commits mailing list