[RISCV] Use RISCVISD::CZERO_EQZ/CZERO_NEZ for XVentanaCondOps.
authorCraig Topper <craig.topper@sifive.com>
Tue, 18 Jul 2023 17:05:11 +0000 (10:05 -0700)
committerCraig Topper <craig.topper@sifive.com>
Tue, 18 Jul 2023 17:18:02 +0000 (10:18 -0700)
commit0c055286b2178c28f61142d6f1c40a05e3e45dd8
tree38a43e3538d747478dd3ec0932d0d459d954b4ba
parent9be8219f60e1bbddaebdb271a55ecfb867078899
[RISCV] Use RISCVISD::CZERO_EQZ/CZERO_NEZ for XVentanaCondOps.

This makes Zicond and XVentanaCondOps use the same code path.
The instructions have identical semantics.

Reviewed By: wangpc

Differential Revision: https://reviews.llvm.org/D155391
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVInstrInfoXVentana.td
llvm/test/CodeGen/RISCV/condops.ll
llvm/test/CodeGen/RISCV/select.ll