[llvm] [LAA][NFC] Add a test for #191867 (PR #213722)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 05:27:35 PDT 2026


================
@@ -348,6 +348,106 @@ exit:
   ret void
 }
 
+; Same as above but with an unrelated store-to-load forwarding deps that do have
+; a safe VF. Make sure those aren't reported as
+; `BackwardVectorizableButPreventsForwarding`. We provide two of those (%B and
+; %C) becase the order of processing matters, so we have one lexically before %A
+; and another after it.
+define void @fwd_conflict_dep_should_not_affect_another_dep(ptr %A, ptr %B, ptr %C) {
----------------
artagnon wrote:

Could add test at end of file? There is a stride3 variant below.

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


More information about the llvm-commits mailing list