[PATCH] D140027: [RISCV] Avoid generate large LMUL vmv.s.x or fvmv.s.f

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 10:15:42 PST 2022


craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:2838
   // splat code which already handles it gracefully.
   const MVT XLenVT = Subtarget.getXLenVT();
   if (!Scalar.getValueType().bitsLE(XLenVT))
----------------
Hoist `XLenVT` above the if to share?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140027/new/

https://reviews.llvm.org/D140027



More information about the llvm-commits mailing list