[llvm] [IR] fix parser crash on AArch64 NEON intrinsics with mismatched element types (PR #177321)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 22 02:19:35 PST 2026


github-actions[bot] wrote:

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

* 168705 tests passed
* 3004 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.Verifier/intrinsic-aarch64-neon-type-mismatch.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Verifier/intrinsic-aarch64-neon-type-mismatch.ll 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/Verifier/intrinsic-aarch64-neon-type-mismatch.ll
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S
# 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/Verifier/intrinsic-aarch64-neon-type-mismatch.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Verifier/intrinsic-aarch64-neon-type-mismatch.ll:13:10: error: CHECK: expected string not found in input
# | ; CHECK: invalid intrinsic signature
# |          ^
# | <stdin>:1:121: note: scanning from here
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: <stdin>:9:34: error: invalid intrinsic signature
# |                                                                                                                         ^
# | <stdin>:2:79: note: possible intended match here
# |  %i = call <vscale x 4 x float> @llvm.aarch64.neon.raddhn.v4f32(<vscale x 4 x float> %arg0, i32 0)
# |                                                                               ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Verifier/intrinsic-aarch64-neon-type-mismatch.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: <stdin>:9:34: error: invalid intrinsic signature 
# | check:13'0                                                                                                                             X error: no match found
# |             2:  %i = call <vscale x 4 x float> @llvm.aarch64.neon.raddhn.v4f32(<vscale x 4 x float> %arg0, i32 0) 
# | check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:13'1                                                                                   ?                     possible intended match
# |             3:  ^ 
# | check:13'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/177321


More information about the llvm-commits mailing list