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

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 05:27:12 PDT 2026


================
@@ -0,0 +1,988 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt < %s -passes=slp-vectorizer -S -mtriple=x86_64-- -mcpu=znver5 \
+; RUN:   | FileCheck %s --check-prefixes=CHECK,STLF-ON
+; RUN: opt < %s -passes=slp-vectorizer -slp-store-load-forward-check=false -S \
+; RUN:   -mtriple=x86_64-- -mcpu=znver5 \
+; RUN:   | FileCheck %s --check-prefixes=CHECK,STLF-OFF
+; RUN: opt < %s -passes=slp-vectorizer -slp-stlf-loop-size-threshold=10 -S \
+; RUN:   -mtriple=x86_64-- -mcpu=znver5 \
+; RUN:   | FileCheck %s --check-prefixes=CHECK,LOW-THR
+
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
----------------
alexey-bataev wrote:

Address this comment, precommit in a separate patch, remove non-ASCII symbols

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


More information about the llvm-commits mailing list