[llvm] [AArch64][SVE] Add basic support for `@llvm.masked.compressstore` (PR #168350)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 10:19:43 PST 2025


github-actions[bot] wrote:

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

* 166307 tests passed
* 2867 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/sve-masked-compressstore.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=aarch64 -mattr=+sve < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/sve-masked-compressstore.ll | /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/sve-masked-compressstore.ll --check-prefixes=CHECK,CHECK-BASE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=aarch64 -mattr=+sve
# 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/sve-masked-compressstore.ll --check-prefixes=CHECK,CHECK-BASE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/sve-masked-compressstore.ll:172:20: error: CHECK-BASE-NEXT: expected string not found in input
# | ; CHECK-BASE-NEXT: zip2 v3.8b, v2.8b, v0.8b
# |                    ^
# | <stdin>:211:37: note: scanning from here
# |  // kill: def $q0 killed $q0 def $z0
# |                                     ^
# | <stdin>:212:2: note: possible intended match here
# |  zip1 v3.8b, v2.8b, v0.8b
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/sve-masked-compressstore.ll:222:20: error: CHECK-BASE-NEXT: expected string not found in input
# | ; CHECK-BASE-NEXT: movi v5.2s, #1
# |                    ^
# | <stdin>:253:24: note: scanning from here
# |  ushll v2.4s, v2.4h, #0
# |                        ^
# | <stdin>:259:8: note: possible intended match here
# |  shl v3.2s, v2.2s, #31
# |        ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/sve-masked-compressstore.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           206:  .p2align 2 
# |           207:  .type test_compressstore_v8i32, at function 
# |           208: test_compressstore_v8i32: // @test_compressstore_v8i32 
# |           209:  .cfi_startproc 
# |           210: // %bb.0: 
# |           211:  // kill: def $q0 killed $q0 def $z0 
# | next:172'0                                         X error: no match found
# |           212:  zip1 v3.8b, v2.8b, v0.8b 
# | next:172'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:172'1      ?                         possible intended match
# |           213:  adrp x8, .LCPI11_0 
# | next:172'0     ~~~~~~~~~~~~~~~~~~~~
# |           214:  zip2 v2.8b, v2.8b, v0.8b 
# | next:172'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           215:  ldr d5, [x8, :lo12:.LCPI11_0] 
# | next:172'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           216:  ptrue p0.s 
# | next:172'0     ~~~~~~~~~~~~
# |           217:  // kill: def $q1 killed $q1 def $z1 
# | next:172'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           248:  .p2align 2 
# | next:172'0     ~~~~~~~~~~~~
# |           249:  .type test_compressstore_v4i64, at function 
# | next:172'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           250: test_compressstore_v4i64: // @test_compressstore_v4i64 
# | next:172'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           251:  .cfi_startproc 
# |           252: // %bb.0: 
# |           253:  ushll v2.4s, v2.4h, #0 
# | next:222'0                            X error: no match found
# |           254:  index z4.s, #1, #1 
# | next:222'0     ~~~~~~~~~~~~~~~~~~~~
# |           255:  ptrue p0.s 
# | next:222'0     ~~~~~~~~~~~~
# |           256:  ptrue p1.d, vl2 
# | next:222'0     ~~~~~~~~~~~~~~~~~
# |           257:  // kill: def $q1 killed $q1 def $z1 
# | next:222'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           258:  // kill: def $q0 killed $q0 def $z0 
# | next:222'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           259:  shl v3.2s, v2.2s, #31 
# | next:222'0     ~~~~~~~~~~~~~~~~~~~~~~~
# | next:222'1            ?                possible intended match
# |           260:  cmlt v3.2s, v3.2s, #0 
# | next:222'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           261:  and v3.8b, v3.8b, v4.8b 
# | next:222'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           262:  ushll2 v4.2d, v2.4s, #0 
# | next:222'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           263:  ushll v2.2d, v2.2s, #0 
# | next:222'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |           264:  addp v3.2s, v3.2s, v3.2s 
# | next:222'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/168350


More information about the llvm-commits mailing list