fallback: translate: shl i128
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | translate: shl i128 M |
| Occurrences: | 3 in 3 configs, 3 test files |
| Snippet from: | rv64-half-convert-strict.e5260b5875.ll (mutant of rv64-half-convert-strict.ll) @sitofp_i128_to_f16 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind strictfp
define half @sitofp_i128_to_f16(i128 %a) #0 {
%B = shl i128 %a, %a
%1 = call half @llvm.experimental.constrained.sitofp.f16.i128(i128 %a, metadata !"round.dynamic", metadata !"fpexcept.strict")
store i128 %B, ptr poison, align 4
ret half %1
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare half @llvm.experimental.constrained.sitofp.f16.i128(i128, metadata, metadata) #1
attributes #0 = { nounwind strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }
Reproduce:
llc -mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: shl: ' %B = shl i128 %a, %a' (in function: sitofp_i128_to_f16)
warning: Instruction selection used fallback path for sitofp_i128_to_f16
Occurrences (3):
| Input | Function | Config |
|---|
| rv64-double-convert-strict.6dac32f304.ll (mutant of rv64-double-convert-strict.ll) | sitofp_i128_to_f64 | -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation |
| rv64-float-convert-strict.cf4024eb8e.ll (mutant of rv64-float-convert-strict.ll) | sitofp_i128_to_f32 | -mtriple=riscv64 -mattr=+zfinx -target-abi=lp64 -verify-machineinstrs -disable-strictnode-mutation |
| rv64-half-convert-strict.e5260b5875.ll (mutant of rv64-half-convert-strict.ll) | sitofp_i128_to_f16 | -mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation |
Generated 2026-11-29 14:49 UTC.