[PATCH] D153411: [RISCV] Custom lower fixed vector undef to scalable undef

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 05:15:56 PDT 2023


luke created this revision.
luke added reviewers: craig.topper, reames, frasercrmck, rogfer01.
Herald added subscribers: jobnoorman, asb, pmatos, VincentWu, vkmr, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, 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, alextsao1999, eopXD, MaskRay.
Herald added a project: LLVM.

This avoids undefs from being expanded to a build vector of zeroes.
As noted by @craig.topper in D153399 <https://reviews.llvm.org/D153399>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153411

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-unaligned.ll
  llvm/test/CodeGen/RISCV/rvv/shuffle-reverse.ll
  llvm/test/CodeGen/RISCV/rvv/vector-interleave-fixed.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153411.533218.patch
Type: text/x-patch
Size: 10855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230621/70c07db4/attachment.bin>


More information about the llvm-commits mailing list