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

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 28 00:40:54 PDT 2022


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

1. Use llvm::lower_bound to find corresponding featureKV
2. Check dependency when disable extensions
3. Delete TODO for support version number


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.432701.patch
Type: text/x-patch
Size: 14345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220528/84f4efa9/attachment.bin>


More information about the llvm-commits mailing list