[all-commits] [llvm/llvm-project] 9e8ed3: [RISCV] Support '.option arch' directive

luxufan via All-commits all-commits at lists.llvm.org
Fri May 26 03:40:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e8ed3403c191ab9c4903e8eeb8f732ff8a43cb4
      https://github.com/llvm/llvm-project/commit/9e8ed3403c191ab9c4903e8eeb8f732ff8a43cb4
  Author: luxufan <luxufan at iscas.ac.cn>
  Date:   2023-05-26 (Fri, 26 May 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h
    A llvm/test/CodeGen/RISCV/inline-option-directive.ll
    A llvm/test/MC/RISCV/eflags-option-directive.s
    A llvm/test/MC/RISCV/option-arch.s
    M llvm/test/MC/RISCV/option-invalid.s

  Log Message:
  -----------
  [RISCV] Support '.option arch' directive

The proposal of '.option arch' directive is https://github.com/riscv-non-isa/riscv-asm-manual/pull/67

Note: For '.option arch, +/-' directive, version number is not yet supported.

Reviewed By: luismarques, craig.topper

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




More information about the All-commits mailing list