fallback: translate: call llvm.masked.compressstore.nxv2i32.p0
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | translate: call llvm.masked.compressstore.nxv2i32.p0 M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | compressstore.6ba7aba251.ll (mutant of compressstore.ll) @test_compresstore_nxv2i32 via llvm-extract |
| Config: | -verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d,+m,+zbb |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i128
@G.1 = external global i128
define void @test_compresstore_nxv2i32(ptr %p, <vscale x 2 x i1> %mask, <vscale x 2 x i32> %data) {
%LGV = load i128, ptr @G, align 4
call void @llvm.masked.compressstore.nxv2i32.p0(<vscale x 2 x i32> %data, ptr %p, <vscale x 2 x i1> %mask)
%B = lshr i128 %LGV, 42
store i128 %B, ptr @G.1, align 4
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: write)
declare void @llvm.masked.compressstore.nxv2i32.p0(<vscale x 2 x i32>, ptr captures(none), <vscale x 2 x i1>) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: write) }
Reproduce:
llc -verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d,+m,+zbb -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d,+m,+zbb -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.masked.compressstore.nxv2i32.p0: ' call void @llvm.masked.compressstore.nxv2i32.p0(<vscale x 2 x i32> %data, ptr %p, <vscale x 2 x i1> %mask)' (in function: test_compresstore_nxv2i32)
warning: Instruction selection used fallback path for test_compresstore_nxv2i32
Occurrences (2):
| Input | Function | Config |
|---|
| compressstore.6ba7aba251.ll (mutant of compressstore.ll) | test_compresstore_nxv2i32 | -verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d,+m,+zbb |
| compressstore.8ef78dfc52.ll (mutant of compressstore.ll) | test_compresstore_nxv2i32 | -verify-machineinstrs -mtriple=riscv32 -mattr=+v,+d,+m,+zbb |
Generated 2026-11-29 14:49 UTC.