[llvm] [LICM] Improve LICM when calls only change Inaccessible memory (PR #169379)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 10:30:22 PST 2025


github-actions[bot] wrote:

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

* 166311 tests passed
* 2863 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -mtriple=amdgcn -mcpu=tonga < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -mtriple=amdgcn -mcpu=tonga
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll:888:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: s_mov_b32 s4, 0
# |            ^
# | <stdin>:592:26: note: scanning from here
# |  v_cvt_i32_f32_e32 v0, v0
# |                          ^
# | <stdin>:593:2: note: possible intended match here
# |  s_mov_b32 s6, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           587:  .type wqm_deriv_loop, at function 
# |           588: wqm_deriv_loop: ; @wqm_deriv_loop 
# |           589: ; %bb.0: ; %.entry 
# |           590:  s_mov_b64 s[0:1], exec 
# |           591:  s_wqm_b64 exec, exec 
# |           592:  v_cvt_i32_f32_e32 v0, v0 
# | next:888'0                              X error: no match found
# |           593:  s_mov_b32 s6, 0 
# | next:888'0     ~~~~~~~~~~~~~~~~~
# | next:888'1      ?                possible intended match
# |           594:  v_cmp_ne_u32_e32 vcc, 0, v0 
# | next:888'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           595:  s_and_saveexec_b64 s[2:3], vcc 
# | next:888'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           596:  s_xor_b64 s[2:3], exec, s[2:3] 
# | next:888'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           597:  s_cbranch_execz .LBB7_3 
# | next:888'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           598: ; %bb.1: ; %.demote0 
# | next:888'0     ~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tonga < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tonga
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll:890:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: s_mov_b32 s6, 0
# |            ^
# | <stdin>:592:26: note: scanning from here
# |  v_cvt_i32_f32_e32 v0, v0
# |                          ^
# | <stdin>:593:2: note: possible intended match here
# |  s_mov_b32 s10, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           587:  .type wqm_deriv_loop, at function 
# |           588: wqm_deriv_loop: ; @wqm_deriv_loop 
# |           589: ; %bb.0: ; %.entry 
# |           590:  s_mov_b64 s[0:1], exec 
# |           591:  s_wqm_b64 exec, exec 
# |           592:  v_cvt_i32_f32_e32 v0, v0 
# | next:890'0                              X error: no match found
# |           593:  s_mov_b32 s10, 0 
# | next:890'0     ~~~~~~~~~~~~~~~~~~
# | next:890'1      ?                 possible intended match
# |           594:  v_cmp_ne_u32_e32 vcc, 0, v0 
# | next:890'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           595:  s_and_saveexec_b64 s[2:3], vcc 
# | next:890'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           596:  s_xor_b64 s[2:3], exec, s[2:3] 
# | next:890'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           597:  s_cbranch_execz .LBB7_3 
# | next:890'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           598: ; %bb.1: ; %.demote0 
# | next:890'0     ~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# 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/169379


More information about the llvm-commits mailing list