[llvm] [OptBisect] Add support for selecting ranges of passes and refactor DebugCounter to use a shared Range API. (PR #152393)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 5 08:03:26 PDT 2025
================
@@ -0,0 +1,53 @@
+; Test that verifies functionality for -opt-bisect with range specifications
+
+; Test basic range functionality: run passes 1-3 and 7-8
+; RUN: opt -O1 -opt-bisect=1-3,7-8 %s 2>&1 | FileCheck %s --check-prefix=CHECK-RANGES
----------------
nikic wrote:
It would be better to replace `-O1` here with an explicit `-passes` list. This will save some poor person from updating this test when the O1 optimization pipeline changes.
https://github.com/llvm/llvm-project/pull/152393
More information about the llvm-commits
mailing list