fallback: translate: call llvm.abs.nxv4i8
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.abs.nxv4i8 M |
| Occurrences: | 3 in 3 configs, 1 test files, 3 more counted only |
| Snippet from: | abs-vp.109abcf4ec.ll (mutant of abs-vp.ll) @vp_abs_nxv4i8 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd,+c,+zihintpause -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <8 x i8>
define <vscale x 4 x i8> @vp_abs_nxv4i8(<vscale x 4 x i8> %va, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%LGV = load <8 x i8>, ptr @G, align 8
%v = call <vscale x 4 x i8> @llvm.abs.nxv4i8(<vscale x 4 x i8> %va, i1 false)
%B = or <8 x i8> %LGV, zeroinitializer
store <8 x i8> %B, ptr poison, align 8
ret <vscale x 4 x i8> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 4 x i8> @llvm.abs.nxv4i8(<vscale x 4 x i8>, i1 immarg) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd,+c,+zihintpause -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd,+c,+zihintpause -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.abs.nxv4i8: ' %v = call <vscale x 4 x i8> @llvm.abs.nxv4i8(<vscale x 4 x i8> %va, i1 false)' (in function: vp_abs_nxv4i8)
warning: Instruction selection used fallback path for vp_abs_nxv4i8
Occurrences (3):
| Input | Function | Config |
|---|
| abs-vp.109abcf4ec.ll (mutant of abs-vp.ll) | vp_abs_nxv4i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd,+c,+zihintpause -O3 |
| abs-vp.5456e03e5b.ll (mutant of abs-vp.ll) | vp_abs_nxv4i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m -O3 |
| abs-vp.84c772f2a2.ll (mutant of abs-vp.ll) | vp_abs_nxv4i8_unmasked | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+m,+zicond,+d -O1 |
Generated 2026-11-29 14:49 UTC.