[llvm] [LoopInterchange] Don't consider loops with BTC=0 (PR #167113)
Ryotaro Kasuga via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 18 01:47:20 PST 2025
================
@@ -0,0 +1,73 @@
+; RUN: opt < %s -passes=loop-interchange -verify-dom-info -verify-loop-info \
+; RUN: -pass-remarks-output=%t -pass-remarks='loop-interchange' -S
+; RUN: cat %t | FileCheck %s
+
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+
+ at D = common global [100 x [100 x [100 x i32]]] zeroinitializer
+
+; Test for interchange in
----------------
kasuga-fj wrote:
Could you add a brief description to clarify the purpose of this test? Like "check the loop with BTC=0 is considered unprofitable".
https://github.com/llvm/llvm-project/pull/167113
More information about the llvm-commits
mailing list