[llvm] [FnSpecialization] Only accept codesize savings if strictly greater than the minimum amount (PR #164867)
Mikhail Gudim via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 23 13:30:54 PDT 2025
================
@@ -1,5 +1,6 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
-; RUN: opt -passes=ipsccp --funcspec-min-function-size=1 -S < %s | FileCheck %s
+; RUN: opt -passes=ipsccp --funcspec-min-function-size=1 \
+; RUN: -funcspec-min-codesize-savings=1 -S < %s | FileCheck %s
----------------
mgudim wrote:
ah, I see. So in that sense the tests were kind of relying on wrong behaviour.
https://github.com/llvm/llvm-project/pull/164867
More information about the llvm-commits
mailing list