[PATCH] D134061: [RISCV] Custom legalize splat_vector and disable unprofitable generic DAG combine

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 12:09:51 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:812
 
+        setOperationAction(ISD::SPLAT_VECTOR, VT, Custom);
+
----------------
Does this do anything? RISCVTargetLowering::LowerOperation returns SDValue() for SPLAT_VECTOR unless it has i1 type.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134061



More information about the llvm-commits mailing list