[llvm] [NFC][LoopUnroll] Add `-unroll-runtime-other-exit-predictable=false` to `unroll-multi-exit-loop-heuristics.ll` (PR #179198)
Marek Sedláček via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 2 02:24:31 PST 2026
https://github.com/mark-sed created https://github.com/llvm/llvm-project/pull/179198
Adds `-unroll-runtime-other-exit-predictable=false` option to `unroll-multi-exit-loop-heuristics.ll` test for stability reasons.
This is a followup to a discussion in !164799 and a similar patch https://reviews.llvm.org/D98098. Since this option is false by default, this is an NFC.
>From 28d305c07b0ae1674c3735fe7a32372c70ca173c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Sedl=C3=A1=C4=8Dek?= <mr.mareksedlacek at gmail.com>
Date: Mon, 2 Feb 2026 10:18:09 +0000
Subject: [PATCH] [NFC] Adds `-unroll-runtime-other-exit-predictable=false`
option to `unroll-multi-exit-loop-heuristics.ll` test for stability reasons.
This is a followup to a discussion in !164799 and a similar patch https://reviews.llvm.org/D98098.
Since this option is false by default, this is an NFC.
---
.../LoopUnroll/unroll-multi-exit-loop-heuristics.ll | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/llvm/test/Transforms/LoopUnroll/unroll-multi-exit-loop-heuristics.ll b/llvm/test/Transforms/LoopUnroll/unroll-multi-exit-loop-heuristics.ll
index 34ef92c507afa..82acc932fec63 100644
--- a/llvm/test/Transforms/LoopUnroll/unroll-multi-exit-loop-heuristics.ll
+++ b/llvm/test/Transforms/LoopUnroll/unroll-multi-exit-loop-heuristics.ll
@@ -1,5 +1,5 @@
-; RUN: opt < %s -passes=loop-unroll -unroll-runtime=true -verify-dom-info -verify-loop-info -S | FileCheck %s
-; RUN: opt < %s -passes=loop-unroll -unroll-runtime=true -verify-dom-info -verify-loop-info -unroll-runtime-multi-exit=false -S | FileCheck %s -check-prefix=NOUNROLL
+; RUN: opt < %s -passes=loop-unroll -unroll-runtime=true -verify-dom-info -verify-loop-info -unroll-runtime-other-exit-predictable=false -S | FileCheck %s
+; RUN: opt < %s -passes=loop-unroll -unroll-runtime=true -verify-dom-info -verify-loop-info -unroll-runtime-multi-exit=false -unroll-runtime-other-exit-predictable=false -S | FileCheck %s -check-prefix=NOUNROLL
; Multi exit loop with predictable exit -- unroll
; Exit before loop body.
More information about the llvm-commits
mailing list