[PATCH] D139394: [RISCV] Add support for RISCV XVentanaCondops Extension
Kautuk Consul via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 13 23:57:52 PST 2022
kconsul updated this revision to Diff 482727.
kconsul added a comment.
[RISCV] Add support for RISCV XVentanaCondops Extension patterns
This patch adds support for XVentanaCondops extension patterns.
This extension is designed to reduce the number of branches in
the generated RISCV assembly by replacing branches with conditional
move instructions as defined by XVentanaCondops specification.
The specification for XVentanaCondops extension can be found at:
https://github.com/ventanamicro/ventana-custom-extensions/releases/download/v1.0.1/ventana-custom-extensions-v1.0.1.pdf
Signed-off-by: Kautuk Consul <kconsul at ventanamicro.com>
Signed-off-by: Mikhail Gudim <mgudim at ventanamicro.com>
Changes since v5:
- Removed the RV64 lines from the xventanacondops.ll test-case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139394/new/
https://reviews.llvm.org/D139394
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfoXVentana.td
llvm/test/CodeGen/RISCV/select.ll
llvm/test/CodeGen/RISCV/xventanacondops.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139394.482727.patch
Type: text/x-patch
Size: 35192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221214/27ca904c/attachment.bin>
More information about the llvm-commits
mailing list