[PATCH] D155063: [RISCV] Simplify operand logic in vmerge combine. NFCI

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 03:09:24 PDT 2023


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

I find this a bit easier to follow, and it makes an upcoming rework of D153351 <https://reviews.llvm.org/D153351>
simpler.
Since we always end up creating a node with the same number of operands, don't
differentiate between whether or not True was masked.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155063

Files:
  llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155063.539460.patch
Type: text/x-patch
Size: 3981 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230712/b3a8471a/attachment.bin>


More information about the llvm-commits mailing list