fallback: translate: shufflevector <N x float>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: shufflevector <N x float> M |
| Occurrences: | 3 in 3 configs, 3 test files, 11 more counted only |
| Snippet from: | add-before-shl.b522c56b5d.ll (mutant of add-before-shl.ll) @add_huge_const via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -M no-aliases -mattr=+zhinx -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <4 x float>
; Function Attrs: nounwind
define signext i32 @add_huge_const(i32 signext %a) #0 {
%S = shufflevector <4 x float> splat (float +qnan), <4 x float> splat (float 1.000000e+00), <4 x i32> poison
%1 = add i32 %a, 32767
%2 = shl i32 %1, 16
%3 = ashr i32 %2, 16
store <4 x float> %S, ptr @G, align 16
ret i32 %3
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -M no-aliases -mattr=+zhinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -M no-aliases -mattr=+zhinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: shufflevector: ' %S = shufflevector <4 x float> splat (float +qnan), <4 x float> splat (float 1.000000e+00), <4 x i32> poison' (in function: add_huge_const)
warning: Instruction selection used fallback path for add_huge_const
Occurrences (3):
| Input | Function | Config |
|---|
| add-before-shl.b522c56b5d.ll (mutant of add-before-shl.ll) | add_huge_const | -mtriple=riscv32 -verify-machineinstrs -M no-aliases -mattr=+zhinx -O1 |
| float-arith-strict.4d696af587.ll (mutant of float-arith-strict.ll) | fsub_s | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32 -mattr=+zfinx,+zcb -O0 |
| half-convert-strict.fbe0dfba9b.ll (mutant of half-convert-strict.ll) | fcvt_ui_h | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinx -O3 |
Generated 2026-11-29 14:49 UTC.