fallback: legalize: G_FPTOUI_SAT s128,s32
| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | fallback |
| Category: | legalize: G_FPTOUI_SAT s128,s32 |
| Occurrences: | 6 in 2 configs, 1 test files |
| Snippet from: | rv64-float-convert.ll @fptoui_sat_f32_to_i128 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+f -target-abi=lp64f -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i128 @fptoui_sat_f32_to_i128(float %a) #0 {
%1 = tail call i128 @llvm.fptoui.sat.i128.f32(float %a)
ret i128 %1
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare i128 @llvm.fptoui.sat.i128.f32(float) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+f -target-abi=lp64f -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+f -target-abi=lp64f -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %1:_(s128) = G_FPTOUI_SAT %0:_(s32) (in function: fptoui_sat_f32_to_i128)
warning: Instruction selection used fallback path for fptoui_sat_f32_to_i128
Occurrences (6):
| Input | Function | Config |
|---|
| rv64-float-convert.ll | fptoui_sat_f32_to_i128 | -mtriple=riscv64 -mattr=+f -target-abi=lp64f -verify-machineinstrs |
| rv64-float-convert.ll | fptoui_sat_f32_to_i128 | -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs |
| rv64-float-convert.16a8c0b5d8.ll (mutant of rv64-float-convert.ll) | fptoui_sat_f32_to_i128 | -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs |
| rv64-float-convert.3262843cc3.ll (mutant of rv64-float-convert.ll) | fptoui_sat_f32_to_i128 | -mtriple=riscv64 -mattr=+f -target-abi=lp64f -verify-machineinstrs |
| rv64-float-convert.b30a43fd66.ll (mutant of rv64-float-convert.ll) | fptoui_sat_f32_to_i128 | -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs |
| rv64-float-convert.d1c74acab4.ll (mutant of rv64-float-convert.ll) | fptoui_sat_f32_to_i128 | -mtriple=riscv64 -mattr=+f -target-abi=lp64f -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.