[llvm] [Passes][Inliner] Handle optsize/minsize via attributes only (PR #190168)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 00:56:38 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-devrel-x86-64` running on `ml-opt-devrel-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/36919
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/Inline/ML/ml-test-release-mode.ll' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 9
/b/ml-opt-devrel-x86-64-b1/build/bin/opt -passes=scc-oz-module-inliner -enable-ml-inliner=release -S < /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/Inline/ML/Inputs/test-module.ll 2>&1 | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/Inline/ML/Inputs/test-module.ll --check-prefix=CHECK
# executed command: /b/ml-opt-devrel-x86-64-b1/build/bin/opt -passes=scc-oz-module-inliner -enable-ml-inliner=release -S
# executed command: /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/Inline/ML/Inputs/test-module.ll --check-prefix=CHECK
# RUN: at line 10
/b/ml-opt-devrel-x86-64-b1/build/bin/opt -passes=scc-oz-module-inliner -enable-ml-inliner=default -S < /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/Inline/ML/Inputs/test-module.ll 2>&1 | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/Inline/ML/Inputs/test-module.ll --check-prefix=DEFAULT
# executed command: /b/ml-opt-devrel-x86-64-b1/build/bin/opt -passes=scc-oz-module-inliner -enable-ml-inliner=default -S
# executed command: /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/Inline/ML/Inputs/test-module.ll --check-prefix=DEFAULT
# .---command stderr------------
# | /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/Inline/ML/Inputs/test-module.ll:68:17: error: DEFAULT-NEXT: is not on the line after the previous match
# | ; DEFAULT-NEXT: %2 = mul
# | ^
# | <stdin>:18:2: note: 'next' match was here
# | %2 = mul nsw i32 %0, %0
# | ^
# | <stdin>:10:27: note: previous match ended here
# | %b = tail call i32 @adder(i32 10)
# | ^
# | <stdin>:11:1: note: non-matching line after previous match is here
# | %ret = add nsw i32 %b, 25
# | ^
# |
# | Input file: <stdin>
# | Check file: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/Inline/ML/Inputs/test-module.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 13: ret i32 %ret
# | 14: }
# | 15:
# | 16: ; Function Attrs: minsize nofree nosync nounwind memory(none)
# | 17: define internal i32 @adder(i32 %0) #1 {
# | 18: %2 = mul nsw i32 %0, %0
# | next:68 !~~~~~~~ error: match on wrong line
# | 19: %3 = tail call i32 @switcher(i32 1)
# | 20: %4 = add nsw i32 %3, %2
# | 21: ret i32 %4
# | 22: }
# | 23:
# | .
...
```
</details>
https://github.com/llvm/llvm-project/pull/190168
More information about the llvm-commits
mailing list