fallback: translate: mul <N x i64>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: mul <N x i64> M |
| Occurrences: | 3 in 3 configs, 3 test files, 22 more counted only |
| Snippet from: | selectcc-to-shiftand.9c9631edcd.ll (mutant of selectcc-to-shiftand.ll) @sraiw_andi via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zhinx -O0 -code-model=medium -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global <2 x i64>
; Function Attrs: nounwind
define i64 @sraiw_andi(i32 signext %0, i32 signext %1) #0 {
entry:
%B = mul <2 x i64> zeroinitializer, splat (i64 42)
%2 = add i32 %0, %1
%3 = icmp sgt i32 %2, -1
%4 = select i1 %3, i64 0, i64 7
store <2 x i64> %B, ptr @G.3, align 16
ret i64 %4
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+zhinx -O0 -code-model=medium -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinx -O0 -code-model=medium -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: mul: ' %B = mul <2 x i64> zeroinitializer, splat (i64 42)' (in function: sraiw_andi)
warning: Instruction selection used fallback path for sraiw_andi
Occurrences (3):
| Input | Function | Config |
|---|
| float-intrinsics.6526521c12.ll (mutant of float-intrinsics.ll) | llrint_f32 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O2 |
| inline-asm-zhinx-constraint-r.d7925c3a69.ll (mutant of inline-asm-zhinx-constraint-r.ll) | constraint_cf_half | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinx,+zvbb,+zbs -O0 |
| selectcc-to-shiftand.9c9631edcd.ll (mutant of selectcc-to-shiftand.ll) | sraiw_andi | -mtriple=riscv64 -mattr=+zhinx -O0 -code-model=medium -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.