[llvm] [RISCV][TTI] Implement vector costs for `llvm.fpto{u|s}i.sat()`. (PR #143655)
Elvis Wang via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 9 00:02:19 PDT 2025
================
@@ -1497,6 +1497,33 @@ RISCVTTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
cast<VectorType>(ICA.getArgTypes()[0]), {}, CostKind,
0, cast<VectorType>(ICA.getReturnType()));
}
+ case Intrinsic::fptoui_sat:
----------------
ElvisWang123 wrote:
Move the part of invalid cost in the BasicTTI (#147657).
And leave cost correction in RISCVTTI in this PR.
https://github.com/llvm/llvm-project/pull/143655
More information about the llvm-commits
mailing list