[llvm] [TTI][RISCV] Add cost modelling for intrinsic vp.load.ff (PR #160470)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 24 06:35:46 PDT 2025
================
@@ -1795,6 +1795,15 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
}
}
+ if (ICA.getID() == Intrinsic::vp_load_ff) {
+ Type *RetTy = ICA.getReturnType();
+ assert(RetTy->isStructTy() && "expected struct return");
----------------
lukel97 wrote:
No need for the assert, the cast below will trap if it's not a StructType
https://github.com/llvm/llvm-project/pull/160470
More information about the llvm-commits
mailing list