[all-commits] [llvm/llvm-project] 550b2e: [RISCV] Add combination crypto extensions in ISAInfo

Yueh-Ting (eop) Chen via All-commits all-commits at lists.llvm.org
Tue Mar 8 09:52:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 550b2eaaa6e402ce664fe55c038e5fe387258af7
      https://github.com/llvm/llvm-project/commit/550b2eaaa6e402ce664fe55c038e5fe387258af7
  Author: eopXD <eop.chen at sifive.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M clang/test/Preprocessor/riscv-target-features.c
    M llvm/include/llvm/Support/RISCVISAInfo.h
    M llvm/lib/Support/RISCVISAInfo.cpp
    M llvm/test/CodeGen/RISCV/attributes.ll

  Log Message:
  -----------
  [RISCV] Add combination crypto extensions in ISAInfo

The crypto extension have several shorthand extensions that don't consist of any extra instructions.
Take `zk` for example, while the extension would imply `zkn, zkr, zkt`. The 3 extensions should also
combine back into `zk` to maintain the canonical order in isa strings.

This patch addresses the above.

Reviewed By: VincentWu

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




More information about the All-commits mailing list