[llvm] [TTI] Provide conservative costs for @llvm.speculative.load. (PR #180036)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 07:21:41 PDT 2026
================
@@ -5530,6 +5530,11 @@ AArch64TTIImpl::getMemIntrinsicInstrCost(const MemIntrinsicCostAttributes &MICA,
case Intrinsic::masked_expandload:
case Intrinsic::masked_compressstore:
return getMaskedMemoryOpCost(MICA, CostKind);
+ case Intrinsic::speculative_load:
+ // Scalable speculative loads are not supported yet.
+ if (isa<ScalableVectorType>(MICA.getDataType()))
+ return InstructionCost::getInvalid();
+ break;
----------------
fhahn wrote:
Removed, thanks!
https://github.com/llvm/llvm-project/pull/180036
More information about the llvm-commits
mailing list