[all-commits] [llvm/llvm-project] f2ad8c: [RISCV] Remove experimental-b extension that inclu...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Oct 7 20:50:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2ad8c9dc6d84cd5f080845848b63da5d524c9d7
      https://github.com/llvm/llvm-project/commit/f2ad8c9dc6d84cd5f080845848b63da5d524c9d7
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M clang/lib/Basic/Targets/RISCV.cpp
    M clang/lib/Basic/Targets/RISCV.h
    M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
    M clang/test/Driver/riscv-arch.c
    M clang/test/Preprocessor/riscv-target-features.c
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
    M llvm/lib/Target/RISCV/RISCV.td
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    R llvm/lib/Target/RISCV/RISCVInstrInfoB.td
    A llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
    M llvm/lib/Target/RISCV/RISCVSubtarget.h
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/CodeGen/RISCV/rv32zba.ll
    M llvm/test/CodeGen/RISCV/rv32zbb-intrinsic.ll
    M llvm/test/CodeGen/RISCV/rv32zbb-zbp.ll
    M llvm/test/CodeGen/RISCV/rv32zbb.ll
    M llvm/test/CodeGen/RISCV/rv32zbc-intrinsic.ll
    M llvm/test/CodeGen/RISCV/rv32zbe-intrinsic.ll
    M llvm/test/CodeGen/RISCV/rv32zbp-intrinsic.ll
    M llvm/test/CodeGen/RISCV/rv32zbp.ll
    M llvm/test/CodeGen/RISCV/rv32zbs.ll
    M llvm/test/CodeGen/RISCV/rv32zbt.ll
    M llvm/test/CodeGen/RISCV/rv64zba.ll
    M llvm/test/CodeGen/RISCV/rv64zbb-intrinsic.ll
    M llvm/test/CodeGen/RISCV/rv64zbb-zbp.ll
    M llvm/test/CodeGen/RISCV/rv64zbb.ll
    M llvm/test/CodeGen/RISCV/rv64zbc-intrinsic.ll
    M llvm/test/CodeGen/RISCV/rv64zbe-intrinsic.ll
    M llvm/test/CodeGen/RISCV/rv64zbp-intrinsic.ll
    M llvm/test/CodeGen/RISCV/rv64zbp.ll
    M llvm/test/CodeGen/RISCV/rv64zbs.ll
    M llvm/test/CodeGen/RISCV/rv64zbt.ll
    M llvm/test/MC/RISCV/attribute-arch.s
    R llvm/test/MC/RISCV/rv32b-aliases-valid.s
    M llvm/test/MC/RISCV/rv32zba-valid.s
    A llvm/test/MC/RISCV/rv32zbb-aliases-valid.s
    M llvm/test/MC/RISCV/rv32zbb-valid.s
    M llvm/test/MC/RISCV/rv32zbbp-only-valid.s
    M llvm/test/MC/RISCV/rv32zbbp-valid.s
    M llvm/test/MC/RISCV/rv32zbc-valid.s
    M llvm/test/MC/RISCV/rv32zbe-valid.s
    M llvm/test/MC/RISCV/rv32zbf-valid.s
    A llvm/test/MC/RISCV/rv32zbp-aliases-valid.s
    M llvm/test/MC/RISCV/rv32zbp-only-valid.s
    M llvm/test/MC/RISCV/rv32zbp-valid.s
    M llvm/test/MC/RISCV/rv32zbr-valid.s
    A llvm/test/MC/RISCV/rv32zbs-aliases-valid.s
    M llvm/test/MC/RISCV/rv32zbs-invalid.s
    M llvm/test/MC/RISCV/rv32zbs-valid.s
    M llvm/test/MC/RISCV/rv32zbt-valid.s
    R llvm/test/MC/RISCV/rv64b-aliases-valid.s
    A llvm/test/MC/RISCV/rv64zba-aliases-valid.s
    M llvm/test/MC/RISCV/rv64zba-valid.s
    A llvm/test/MC/RISCV/rv64zbb-aliases-valid.s
    M llvm/test/MC/RISCV/rv64zbb-valid.s
    M llvm/test/MC/RISCV/rv64zbbp-valid.s
    M llvm/test/MC/RISCV/rv64zbe-valid.s
    M llvm/test/MC/RISCV/rv64zbf-valid.s
    M llvm/test/MC/RISCV/rv64zbm-valid.s
    A llvm/test/MC/RISCV/rv64zbp-aliases-valid.s
    M llvm/test/MC/RISCV/rv64zbp-valid.s
    M llvm/test/MC/RISCV/rv64zbr-valid.s
    A llvm/test/MC/RISCV/rv64zbs-aliases-valid.s
    R llvm/test/MC/RISCV/rv64zbs-invalid.s
    R llvm/test/MC/RISCV/rv64zbs-valid.s
    M llvm/test/MC/RISCV/rv64zbt-valid.s
    M llvm/test/Transforms/LoopIdiom/RISCV/popcnt.ll

  Log Message:
  -----------
  [RISCV] Remove experimental-b extension that includes all Zb* extensions

At this point it looks like a B extension will never exist. Instead
Zba, Zbb, Zbc, and Zbs are individual extensions being ratified
together as a package. Unknown at this time when or if the other
Zb* extensions will be ratified.

This patch removes references to the B extension. I've updated and
split tests accordingly.

This has been split from D110669 to make review a little easier.

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




More information about the All-commits mailing list