fallback: translate: and i128
| Run: | main-b577f07195-20261129-101839 |
| Kind: | fallback |
| Category: | translate: and i128 M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | float-convert.5305016937.ll (mutant of float-convert.ll) @fcvt_wu_s via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i128
; Function Attrs: nounwind
define i32 @fcvt_wu_s(float %a) #0 {
%B = and i128 -1, 0
%1 = fptoui float %a to i32
store i128 %B, ptr @G, align 4
ret i32 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: and: ' %B = and i128 -1, 0' (in function: fcvt_wu_s)
warning: Instruction selection used fallback path for fcvt_wu_s
Occurrences (2):
| Input | Function | Config |
|---|
| float-convert.5305016937.ll (mutant of float-convert.ll) | fcvt_wu_s | -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32 |
| float-convert.86d128e586.ll (mutant of float-convert.ll) | fcvt_wu_s | -mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -target-abi=lp64 |
Generated 2026-11-29 14:49 UTC.