[llvm] LAA: pre-commit tests for stride-versioning (PR #97570)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 7 13:55:51 PDT 2024
================
@@ -310,3 +310,184 @@ loop:
exit: ; preds = %loop
ret void
}
+
+; Check the scenario where we have an unknown Stride, which happens to also be
+; the loop iteration count. If we speculate Stride==1, it implies that the loop
+; will iterate no more than a single iteration.
+define i32 @unknown_stride_equalto_tc(i32 %N, ptr %A, ptr %B, i32 %i, i32 %j) {
----------------
fhahn wrote:
`%I` unused? (this and most other comments would also apply to the other tests below I think)
https://github.com/llvm/llvm-project/pull/97570
More information about the llvm-commits
mailing list