[llvm] [RISCV] Sink vp.splat operands of VP intrinsic. (PR #133245)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 14 07:52:56 PDT 2025


================
@@ -2837,39 +2837,43 @@ bool RISCVTTIImpl::isProfitableToSinkOperands(
   if (!ST->sinkSplatOperands())
     return false;
 
-  for (auto OpIdx : enumerate(I->operands())) {
-    if (!canSplatOperand(I, OpIdx.index()))
-      continue;
----------------
lukel97 wrote:

Why did this check get removed?

https://github.com/llvm/llvm-project/pull/133245


More information about the llvm-commits mailing list