fallback: translate: call llvm.masked.compressstore.nxv4i16.p0
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.masked.compressstore.nxv4i16.p0 M |
| Occurrences: | 3 in 3 configs, 1 test files, 8 more counted only |
| Snippet from: | compressstore.2fcd758e1f.ll (mutant of compressstore.ll) @test_compresstore_nxv4i16 via llvm-extract |
| Config: | -verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d,+m,+zbb,+zve32x -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <8 x i8>
define void @test_compresstore_nxv4i16(ptr %p, <vscale x 4 x i1> %mask, <vscale x 4 x i16> %data) {
%B = urem <8 x i8> splat (i8 -1), zeroinitializer
call void @llvm.masked.compressstore.nxv4i16.p0(<vscale x 4 x i16> %data, ptr %p, <vscale x 4 x i1> %mask)
store <8 x i8> %B, ptr @G, align 8
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: write)
declare void @llvm.masked.compressstore.nxv4i16.p0(<vscale x 4 x i16>, ptr captures(none), <vscale x 4 x i1>) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: write) }
Reproduce:
llc -verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d,+m,+zbb,+zve32x -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d,+m,+zbb,+zve32x -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.masked.compressstore.nxv4i16.p0: ' call void @llvm.masked.compressstore.nxv4i16.p0(<vscale x 4 x i16> %data, ptr %p, <vscale x 4 x i1> %mask)' (in function: test_compresstore_nxv4i16)
warning: Instruction selection used fallback path for test_compresstore_nxv4i16
Occurrences (3):
| Input | Function | Config |
|---|
| compressstore.2fcd758e1f.ll (mutant of compressstore.ll) | test_compresstore_nxv4i16 | -verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d,+m,+zbb,+zve32x -O1 |
| compressstore.63c206459b.ll (mutant of compressstore.ll) | test_compresstore_nxv4i16 | -verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d,+m,+zbb -O3 |
| compressstore.f94b8c9757.ll (mutant of compressstore.ll) | test_compresstore_nxv4i16 | -verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d,+m,+zbb,+zvfh,+zbkb -O0 |
Generated 2026-11-29 14:49 UTC.