[llvm] [LoopVectorize] Refine runtime memory check costs when there is an outer loop (PR #76034)

David Green via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 22 00:43:51 PST 2023


================
@@ -0,0 +1,187 @@
+; REQUIRES: asserts
+; RUN: opt -p loop-vectorize -debug-only=loop-vectorize -S -disable-output < %s 2>&1 | FileCheck %s
+
+target triple = "aarch64-unknown-linux-gnu"
+
+
+define void @outer_no_tc(ptr nocapture noundef %a, ptr nocapture noundef readonly %b, i64 noundef %m, i64 noundef %n) {
----------------
davemgreen wrote:

It might be worth adding a version with no outer loop as a baseline. And maybe a comment about what the test is testing.

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


More information about the llvm-commits mailing list