[PATCH] D139394: [RISCV] Add codegen support for RISCV XVentanaCondOps Extension

Kautuk Consul via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 19 05:58:39 PST 2022


kconsul updated this revision to Diff 483935.
kconsul added a comment.

[RISCV] Add codegen support for RISCV XVentanaCondOps Extension

This patch adds codegen support for part of XVentanaCondops extension.
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 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.483935.patch
Type: text/x-patch
Size: 35191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221219/ce766964/attachment.bin>


More information about the llvm-commits mailing list