[llvm] improve debug messages in delinearization and dependence analysis (PR #156339)

Sebastian Pop via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 1 11:12:20 PDT 2025


================
@@ -11,10 +11,9 @@
 define void @foo(i64 %n, i64 %m, i64 %o, ptr nocapture %A) #0 {
 ; CHECK-LABEL: 'foo'
 ; CHECK-NEXT:  Inst: store i32 1, ptr %arrayidx11.us.us, align 4
-; CHECK-NEXT:  In Loop with Header: for.k
-; CHECK-NEXT:  AccessFunction: {{\{\{\{}}(28 + (4 * (-4 + (3 * %m)) * %o)),+,(8 * %m * %o)}<%for.i>,+,(12 * %o)}<%for.j>,+,20}<%for.k>
+; CHECK-NEXT:  LinearAccessFunction: {{\{\{\{}}(28 + (4 * (-4 + (3 * %m)) * %o)),+,(8 * %m * %o)}<%for.i>,+,(12 * %o)}<%for.j>,+,20}<%for.k>
----------------
sebpop wrote:

> LinearAccessFunction

That's why we call it "de-linear-ization".

We don't deal with (filter out / reject) exponential functions like "i*i".

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


More information about the llvm-commits mailing list