[PATCH] D155391: [RISCV] Use RISCVISD::CZERO_EQZ/CZERO_NEZ for XVentanaCondOps.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 15 23:48:17 PDT 2023


craig.topper created this revision.
craig.topper added reviewers: asb, reames, wangpc.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: eopXD, MaskRay.
Herald added a project: LLVM.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155391

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155391.540761.patch
Type: text/x-patch
Size: 9227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230716/0ac01d8f/attachment.bin>


More information about the llvm-commits mailing list