[PATCH] D123515: [RISCV] Support '.option arch' directive

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 00:21:51 PDT 2022


StephenFan updated this revision to Diff 454716.
StephenFan added a comment.

1. Drop the leading =
2. Support .option arch, +foo, bar, -baz, +qwerty


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123515/new/

https://reviews.llvm.org/D123515

Files:
  llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h
  llvm/test/MC/RISCV/option-arch.s
  llvm/test/MC/RISCV/option-invalid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123515.454716.patch
Type: text/x-patch
Size: 16863 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220823/47b7b5f8/attachment.bin>


More information about the llvm-commits mailing list