[llvm] [TTI] Introduce getInstructionUniformity API for flexible uniformity analysis (PR #137639)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 19 05:23:10 PST 2025


github-actions[bot] wrote:

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

* 166166 tests passed
* 2840 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.Analysis/UniformityAnalysis/AMDGPU/MIR/uniform-permlane.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-- -mcpu=gfx1100 -run-pass=print-machine-uniformity -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/uniform-permlane.mir 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/Analysis/UniformityAnalysis/AMDGPU/MIR/uniform-permlane.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-- -mcpu=gfx1100 -run-pass=print-machine-uniformity -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/uniform-permlane.mir
# 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/Analysis/UniformityAnalysis/AMDGPU/MIR/uniform-permlane.mir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/uniform-permlane.mir:21:17: error: CHECK-LABEL: expected string not found in input
# |  ; CHECK-LABEL: MachineUniformityInfo for function: permlane16_basic
# |                 ^
# | <stdin>:1:1: note: scanning from here
# | MachineUniformityInfo for function: @permlane16_basic
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/uniform-permlane.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1: MachineUniformityInfo for function: @permlane16_basic 
# | label:21     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |           2: ALL VALUES UNIFORM 
# | label:21     ~~~~~~~~~~~~~~~~~~~
# |           3: MachineUniformityInfo for function: @permlanex16_basic 
# | label:21     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4: ALL VALUES UNIFORM 
# | label:21     ~~~~~~~~~~~~~~~~~~~
# |           5: MachineUniformityInfo for function: @permlane16_chain_uniform 
# | label:21     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           6: ALL VALUES UNIFORM 
# | label:21     ~~~~~~~~~~~~~~~~~~~
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# 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/137639


More information about the llvm-commits mailing list