[PATCH] D155433: [RISCV] Add SDNode patterns for vandn.[vv,vx]

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 03:19:44 PDT 2023


luke created this revision.
luke added reviewers: craig.topper, 4vtomat, reames, fakepaper56, frasercrmck.
Herald added subscribers: jobnoorman, asb, pmatos, VincentWu, vkmr, 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.
luke requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, eopXD, MaskRay.
Herald added a project: LLVM.

Unfortunately we can't use the standard splat_vector and vnot PatFrags because
they are preprocessed to vmv.v.x's, so we need to define helpers to catch
those. We can't use SplatPat either because we need to nest another fragment
inside of it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155433

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
  llvm/test/CodeGen/RISCV/rvv/vandn-sdnode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155433.540932.patch
Type: text/x-patch
Size: 41415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230717/ddc3e744/attachment.bin>


More information about the llvm-commits mailing list