[PATCH] D45864: [RISCV] Support .option rvc and norvc
Kito Cheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 24 00:47:21 PDT 2018
kito-cheng updated this revision to Diff 143682.
kito-cheng added a comment.
Changes:
- Fix coding style issue.
- Add more instructions to testcase.
- Make emitDirectiveOptionRVC and emitDirectiveOptionNoRVC to pure virtual function.
- Return nullptr rather than RISCVTargetStreamer in createRISCVObjectTargetStreamer, because we have pure virtual function in RISCVTargetStreamer now.
https://reviews.llvm.org/D45864
Files:
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h
test/MC/RISCV/option-rvc.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45864.143682.patch
Type: text/x-patch
Size: 10535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180424/a38e0661/attachment.bin>
More information about the llvm-commits
mailing list