[PATCH] D46424: [RISCV] Support .option push and .option pop
Simon Cook via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 4 04:10:54 PDT 2018
simoncook created this revision.
simoncook added reviewers: asb, edward-jones.
Herald added subscribers: llvm-commits, mgrang, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, apazos, jordy.potman.lists, johnrusso, rbar.
simoncook added a dependency: D46423: [RISCV] Support .option relax and .option norelax.
This adds support in the RISCVAsmParser the storing of Subtarget feature bits to a stack so that they can be pushed/popped to enable/disable multiple features at once.
Repository:
rL LLVM
https://reviews.llvm.org/D46424
Files:
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h
test/MC/RISCV/option-invalid.s
test/MC/RISCV/option-pushpop.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46424.145173.patch
Type: text/x-patch
Size: 6837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180504/1d2cb6a2/attachment.bin>
More information about the llvm-commits
mailing list