- Add the svinval extension support
- Add the svinval Predicates for its instruction
Note: the svinval instructions defined in https://reviews.llvm.org/D117654
Paths
| Differential D136571
[RISCV] add svinval extension ClosedPublic Authored by BeMg on Oct 23 2022, 8:31 PM.
Details
Summary
Note: the svinval instructions defined in https://reviews.llvm.org/D117654
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 23 2022, 8:31 PM Herald added subscribers: llvm-commits, cfe-commits, • pcwang-thead and 2 others. · View Herald Transcript craig.topper added inline comments.
Comment Actions Hm, we only have two uses of Requires currently, both of which aren't really for any good reason as far as I can see. It'd be better to keep things uniform with Predicates IMO. Comment Actions Please update https://llvm.org/docs/RISCVUsage.html#extensions It seems like we'd previously accept these instruction without the extension being explicitly named? If so, this is probably worth a release note to document the change in user behavior.
This revision is now accepted and ready to land.Oct 26 2022, 8:45 AM Closed by commit rG7d7940fd7761: [RISCV] add svinval extension (authored by BeMg). · Explain WhyOct 26 2022, 9:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 470041 clang/test/Preprocessor/riscv-target-features.c
llvm/lib/Support/RISCVISAInfo.cpp
llvm/lib/Target/RISCV/RISCV.td
llvm/lib/Target/RISCV/RISCVInstrInfo.td
llvm/lib/Target/RISCV/RISCVSubtarget.h
llvm/test/CodeGen/RISCV/attributes.ll
llvm/test/MC/RISCV/priv-valid.s
|
Can we reorder these so there's aren't so many toggles of Predicates.
Alternatively, you could add Requires<[HasStdSvinval]> to the end of the lines instead of using let Predicates