[llvm] [ConstantFolding] Fix type mismatch in ConstantFolding for vector types. (PR #181695)

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 16 11:22:48 PST 2026


github-actions[bot] wrote:

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

* 169683 tests passed
* 3063 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.Transforms/EarlyCSE/AMDGPU/vector-type-constant-folding.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/EarlyCSE/AMDGPU/vector-type-constant-folding.ll -mtriple=amdgcn -passes=early-cse -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/EarlyCSE/AMDGPU/vector-type-constant-folding.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -mtriple=amdgcn -passes=early-cse -S
# .---command stdout------------
# | ; ModuleID = '<stdin>'
# | source_filename = "<stdin>"
# | target datalayout = "e-m:e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:256:256:32-p8:128:128:128:48-p9:192:256:256:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-G1-ni:7:8:9"
# | target triple = "amdgcn"
# | 
# | define internal void @f() {
# |   ret void
# | }
# | 
# | define void @test() {
# |   store <4 x i16> zeroinitializer, ptr @f, align 8
# |   ret void
# | }
# `-----------------------------
# 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/Transforms/EarlyCSE/AMDGPU/vector-type-constant-folding.ll
# .---command stderr------------
# | error: no check strings found with prefix 'CHECK:'
# `-----------------------------
# error: command failed with exit status: 2

--

```
</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/181695


More information about the llvm-commits mailing list