[all-commits] [llvm/llvm-project] ae116f: [RISCV] Drop single letter b extension support

Kito Cheng via All-commits all-commits at lists.llvm.org
Thu Oct 27 08:53:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae116f43ff140edfae166370ab6bc9ae3f556710
      https://github.com/llvm/llvm-project/commit/ae116f43ff140edfae166370ab6bc9ae3f556710
  Author: Kito Cheng <kito.cheng at sifive.com>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

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

  Log Message:
  -----------
  [RISCV] Drop single letter b extension support

It splited into several zb* extensions, and `b` is dropped after
0.93, so it time to retired that as other non-ratified zb* extensions.

Currntly clang can accept that with warning:

$ clang -target riscv64-elf ~/hello.c -S  -march=rv64gcb
'+b' is not a recognized feature for this target (ignoring feature)
'+b' is not a recognized feature for this target (ignoring feature)
'+b' is not a recognized feature for this target (ignoring feature)

Reviewed By: asb, luismarques

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




More information about the All-commits mailing list