[llvm] [SLP] Bail out on store-to-load forwarding hazards (PR #199606)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 05:47:59 PDT 2026


================
@@ -676,6 +676,11 @@ class LLVM_ABI TargetTransformInfoImplBase {
   }
 
   virtual unsigned getCacheLineSize() const { return 0; }
+
+  virtual InstructionCost getStoreLoadForwardingConflictCost(
+      Type *VecTy, TargetTransformInfo::TargetCostKind CostKind) const {
+    return 0;
----------------
alexey-bataev wrote:

Return some non-zero value

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


More information about the llvm-commits mailing list