fallback: translate: mul <N x i64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: mul <N x i64> M |
| Occurrences: | 4 in 4 configs, 4 test files, 5 more counted only |
| Snippet from: | urem-vector-lkk.b83ad609a7.ll (mutant of urem-vector-lkk.ll) @fold_urem_i64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx,+zba -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <4 x i64>
; Function Attrs: nounwind
define <4 x i64> @fold_urem_i64(<4 x i64> %x) #0 {
%B = mul <4 x i64> %x, zeroinitializer
%B1 = add <4 x i64> %x, %x
%1 = urem <4 x i64> %x, <i64 1, i64 654, i64 23, i64 5423>
store <4 x i64> %B, ptr @G, align 32
store <4 x i64> %B1, ptr @G, align 32
ret <4 x i64> %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx,+zba -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx,+zba -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: mul: ' %B = mul <4 x i64> %x, zeroinitializer' (in function: fold_urem_i64)
warning: Instruction selection used fallback path for fold_urem_i64
Occurrences (4):
| Input | Function | Config |
|---|
| half-arith-strict.765f7f64ec.ll (mutant of half-arith-strict.ll) | fdiv_h | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32 -mattr=+zhinx,+a,+zdinx -O1 |
| half-br-fcmp.a8ea1fc56e.ll (mutant of half-br-fcmp.ll) | br_fcmp_oge | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+m -O1 |
| rv64f-float-convert-strict.3bad908898.ll (mutant of rv64f-float-convert-strict.ll) | aext_fptosi | -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -disable-strictnode-mutation -mattr=+zfinx -O0 |
| urem-vector-lkk.b83ad609a7.ll (mutant of urem-vector-lkk.ll) | fold_urem_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx,+zba -O3 |
Generated 2026-11-29 14:49 UTC.