[llvm] fa675aa - [NFC][LoopUnroll] Add `-unroll-runtime-other-exit-predictable=false` to `unroll-multi-exit-loop-heuristics.ll` (#179198)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 2 08:11:46 PST 2026
Author: Marek Sedláček
Date: 2026-02-02T11:11:41-05:00
New Revision: fa675aabc76d759ed9a98359ffdf46645cb6b22d
URL: https://github.com/llvm/llvm-project/commit/fa675aabc76d759ed9a98359ffdf46645cb6b22d
DIFF: https://github.com/llvm/llvm-project/commit/fa675aabc76d759ed9a98359ffdf46645cb6b22d.diff
LOG: [NFC][LoopUnroll] Add `-unroll-runtime-other-exit-predictable=false` to `unroll-multi-exit-loop-heuristics.ll` (#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.
Added:
Modified:
llvm/test/Transforms/LoopUnroll/unroll-multi-exit-loop-heuristics.ll
Removed:
################################################################################
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