[all-commits] [llvm/llvm-project] f4d4ce: [RISCV] Add groupid/bitmask for RISC-V extension (...

Piyou Chen via All-commits all-commits at lists.llvm.org
Sun Jul 21 23:18:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4d4ce1a3189730ef09ee04207004f500a71070d
      https://github.com/llvm/llvm-project/commit/f4d4ce1a3189730ef09ee04207004f500a71070d
  Author: Piyou Chen <piyou.chen at sifive.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M llvm/include/llvm/TargetParser/RISCVTargetParser.h
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/TargetParser/RISCVTargetParser.cpp
    M llvm/test/TableGen/riscv-target-def.td
    M llvm/utils/TableGen/RISCVTargetDefEmitter.cpp

  Log Message:
  -----------
  [RISCV] Add groupid/bitmask for RISC-V extension (#94440)

Base on https://github.com/riscv-non-isa/riscv-c-api-doc/pull/74.

This patch defines the groupid/bitmask in RISCVFeatures.td and generates
the corresponding table in RISCVTargetParserDef.inc.

The groupid/bitmask of extensions provides an abstraction layer between
the compiler and runtime functions.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list