[llvm] [LoopInterchange] Improve some tests (NFC) (PR #156426)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 02:47:02 PDT 2025


================
@@ -65,7 +65,7 @@ for.j.body:
   %add.2 = fadd float %add.1, %d
   %add.3 = fadd float %add.2, %e
   %add.4 = fadd float %add.3, %f
-  %a.1.index = getelementptr nuw inbounds [256 x [256 x float]], ptr @A, i64 %j, i64 %i
+  %a.1.index = getelementptr nuw inbounds [256 x [256 x float]], ptr @A, i64 0, i64 %j, i64 %i
----------------
kasuga-fj wrote:

> FYI the canonical form (since a few days ago) is now:

Ah, got it. I wasn’t aware of that, thanks!

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


More information about the llvm-commits mailing list