Define vsub/vrsub intrinsics and demonstrate the organization of multiclasses and classes for pseudo instructions and patterns.
The CodeGen strategy is designed by @rogfer01 from BSC.
Paths
| Differential D93048
[RISCV] Define vsub/vrsub intrinsics and refine the multiclass/class. AbandonedPublic Authored by HsiangKai on Dec 10 2020, 9:04 AM.
Details Summary Define vsub/vrsub intrinsics and demonstrate the organization of multiclasses and classes for pseudo instructions and patterns. The CodeGen strategy is designed by @rogfer01 from BSC.
Diff Detail
Event TimelineHerald added subscribers: NickHung, apazos, sameer.abuasal and 23 others. · View Herald TranscriptDec 10 2020, 9:04 AM Comment Actions Should I combine this one with D93048? vsub only has .vv and .vx variants. I use these two instructions to reorganize multiclasses and classes in RISCVInstrInfoVPseudos.td. These two patches are related. I am not sure whether I should combine them or not. Comment Actions
I vote to combine them since this redoes a lot of the tablegen classes. It would be better to only have one version to review
Revision Contents
Diff 310925 llvm/include/llvm/IR/IntrinsicsRISCV.td
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
llvm/test/CodeGen/RISCV/rvv/vrsub.ll
llvm/test/CodeGen/RISCV/rvv/vsub.ll
|