[llvm-branch-commits] [llvm] [AMDGPU] Add machine-level inliner pass (PR #169476)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 25 02:41:04 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 166332 tests passed
* 2873 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll -mtriple=arm64-apple-ios7.0 -pass-remarks-analysis=asm-printer        --debugify-and-strip-all-safe=0        -verify-machineinstrs        -pass-remarks-with-hotness=1 -asm-verbose=0        -debug-only=lazy-machine-block-freq,block-freq        -debug-pass=Executions 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll -check-prefix=HOTNESS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=arm64-apple-ios7.0 -pass-remarks-analysis=asm-printer --debugify-and-strip-all-safe=0 -verify-machineinstrs -pass-remarks-with-hotness=1 -asm-verbose=0 -debug-only=lazy-machine-block-freq,block-freq -debug-pass=Executions
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll -check-prefix=HOTNESS
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll:34:17: error: HOTNESS-NEXT: expected string not found in input
# | ; HOTNESS-NEXT: Executing Pass 'Function Pass Manager'
# |                 ^
# | <stdin>:1058:75: note: scanning from here
# | [2025-11-25 10:21:14.095686179] 0x2c26add0 Freeing Pass 'Machine Outliner' on Module '<stdin>'...
# |                                                                           ^
# | <stdin>:1059:44: note: possible intended match here
# | [2025-11-25 10:21:14.095700139] 0x2c26add0 Executing Pass 'FunctionPass Manager' on Module '<stdin>'...
# |                                            ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |         1053: [2025-11-25 10:21:14.095573529] 0x2c26add0 Freeing Pass 'Profile summary info' on Module '<stdin>'... 
# |         1054: [2025-11-25 10:21:14.095588819] 0x2c26add0 Freeing Pass 'Default Regalloc Eviction Advisor' on Module '<stdin>'... 
# |         1055: [2025-11-25 10:21:14.095623679] 0x2c26add0 Freeing Pass 'Default Regalloc Priority Advisor' on Module '<stdin>'... 
# |         1056: [2025-11-25 10:21:14.095638439] 0x2c26add0 Freeing Pass 'Target Transform Information' on Module '<stdin>'... 
# |         1057: [2025-11-25 10:21:14.095652669] 0x2c26add0 Executing Pass 'Machine Outliner' on Module '<stdin>'... 
# |         1058: [2025-11-25 10:21:14.095686179] 0x2c26add0 Freeing Pass 'Machine Outliner' on Module '<stdin>'... 
# | next:34'0                                                                               X~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |         1059: [2025-11-25 10:21:14.095700139] 0x2c26add0 Executing Pass 'FunctionPass Manager' on Module '<stdin>'... 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:34'1                                                ?                                                             possible intended match
# |         1060: [2025-11-25 10:21:14.095715059] 0x2c2b41a0 Executing Pass 'Verify generated machine code' on Function 'empty_func'... 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1061: [2025-11-25 10:21:14.095748589] 0x2c2b41a0 Freeing Pass 'Verify generated machine code' on Function 'empty_func'... 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1062: [2025-11-25 10:21:14.095763159] 0x2c2b41a0 Executing Pass 'AArch64 sls hardening pass' on Function 'empty_func'... 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1063: [2025-11-25 10:21:14.095781559] 0x2c2b41a0 Freeing Pass 'AArch64 sls hardening pass' on Function 'empty_func'... 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1064: [2025-11-25 10:21:14.095796719] 0x2c2b41a0 Executing Pass 'Verify generated machine code' on Function 'empty_func'... 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/UpdateTestChecks/update_givaluetracking_test_checks/knownbits-const.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
cp -f /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Inputs/const.mir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Output/knownbits-const.test.tmp.mir && '/usr/bin/python3' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/update_givaluetracking_test_checks.py --llc-binary /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --version=1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Output/knownbits-const.test.tmp.mir
# executed command: cp -f /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Inputs/const.mir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Output/knownbits-const.test.tmp.mir
# note: command had no output on stdout or stderr
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/update_givaluetracking_test_checks.py --llc-binary /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --version=1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Output/knownbits-const.test.tmp.mir
# note: command had no output on stdout or stderr
# RUN: at line 3
diff -u /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Inputs/const.mir.expected /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Output/knownbits-const.test.tmp.mir
# executed command: diff -u /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Inputs/const.mir.expected /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Output/knownbits-const.test.tmp.mir
# .---command stdout------------
# | --- /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Inputs/const.mir.expected
# | +++ /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_givaluetracking_test_checks/Output/knownbits-const.test.tmp.mir
# | @@ -5,9 +5,9 @@
# |  name:            Cst
# |  body:             |
# |    bb.1:
# | -  ; CHECK-LABEL: name: @Cst
# | -  ; CHECK-NEXT: %0:_ KnownBits:00000001 SignBits:7
# | -  ; CHECK-NEXT: %1:_ KnownBits:00000001 SignBits:7
# | +    ; CHECK-LABEL: name: @Cst
# | +    ; CHECK-NEXT: %0:_ KnownBits:00000001 SignBits:7
# | +    ; CHECK-NEXT: %1:_ KnownBits:00000001 SignBits:7
# |      %0:_(s8) = G_CONSTANT i8 1
# |      %1:_(s8) = COPY %0
# |  ...
# | @@ -16,11 +16,11 @@
# |  body:             |
# |    bb.1:
# |    ; Note: This comment should not be removed, the check lines below should be updated
# | -  ; CHECK-LABEL: name: @Test2
# | -  ; CHECK-NEXT: %1:_ KnownBits:???????????????????????????????? SignBits:1
# | -  ; CHECK-NEXT: %named:gpr64 KnownBits:00000000000000000000000000000000???????????????????????????????? SignBits:32
# | -  ; CHECK-NEXT: %3:_ KnownBits:???????????????????????????????? SignBits:1
# | -  ; CHECK-NEXT: %4:_ KnownBits:00000000000000000000000000000000 SignBits:32
# | +    ; CHECK-LABEL: name: @Test2
# | +    ; CHECK-NEXT: %1:_ KnownBits:???????????????????????????????? SignBits:1
# | +    ; CHECK-NEXT: %named:gpr64 KnownBits:00000000000000000000000000000000???????????????????????????????? SignBits:32
# | +    ; CHECK-NEXT: %3:_ KnownBits:???????????????????????????????? SignBits:1
# | +    ; CHECK-NEXT: %4:_ KnownBits:00000000000000000000000000000000 SignBits:32
# |      %0:gpr32 = COPY $w0
# |      %1:_(s32) = COPY %0
# |      %named:gpr64(s64) = G_ZEXT %1
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/169476


More information about the llvm-branch-commits mailing list