fallback: translate: call llvm.abs.nxv64i8
| Run: | main-b577f07195-20261129-101839 |
| Kind: | fallback |
| Category: | translate: call llvm.abs.nxv64i8 M |
| Occurrences: | 4 in 4 configs, 1 test files |
| Snippet from: | abs-vp.274103ac61.ll (mutant of abs-vp.ll) @vp_abs_nxv64i8 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+v,+m -target-abi=lp64d -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <4 x i32>
define <vscale x 64 x i8> @vp_abs_nxv64i8(<vscale x 64 x i8> %va, <vscale x 64 x i1> %m, i32 zeroext %evl) {
%LGV = load <4 x i32>, ptr @G, align 16
%v = call <vscale x 64 x i8> @llvm.abs.nxv64i8(<vscale x 64 x i8> %va, i1 false)
%B = shl <4 x i32> %LGV, splat (i32 65536)
store <4 x i32> %B, ptr @G, align 16
ret <vscale x 64 x i8> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 64 x i8> @llvm.abs.nxv64i8(<vscale x 64 x i8>, i1 immarg) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+v,+m -target-abi=lp64d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+v,+m -target-abi=lp64d -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.abs.nxv64i8: ' %v = call <vscale x 64 x i8> @llvm.abs.nxv64i8(<vscale x 64 x i8> %va, i1 false)' (in function: vp_abs_nxv64i8)
warning: Instruction selection used fallback path for vp_abs_nxv64i8
Occurrences (4):
| Input | Function | Config |
|---|
| abs-vp.274103ac61.ll (mutant of abs-vp.ll) | vp_abs_nxv64i8 | -mtriple=riscv64 -mattr=+v,+m -target-abi=lp64d -verify-machineinstrs |
| abs-vp.661818fd99.ll (mutant of abs-vp.ll) | vp_abs_nxv64i8 | -mtriple=riscv32 -mattr=+v,+m,+experimental-zvabd -target-abi=ilp32d -verify-machineinstrs |
| abs-vp.8da2026085.ll (mutant of abs-vp.ll) | vp_abs_nxv64i8 | -mtriple=riscv32 -mattr=+v,+m -target-abi=ilp32d -verify-machineinstrs |
| abs-vp.f48f3bc211.ll (mutant of abs-vp.ll) | vp_abs_nxv64i8 | -mtriple=riscv64 -mattr=+v,+m,+experimental-zvabd -target-abi=lp64d -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.