fallback: translate: udiv <N x i64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: udiv <N x i64> M |
| Occurrences: | 3 in 3 configs, 3 test files, 8 more counted only |
| Snippet from: | fround-optsize.221d59ff25.ll (mutant of fround-optsize.ll) @ceil_f32_optsize via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinx,+zbb -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global <2 x i64>
; Function Attrs: nounwind optsize
define float @ceil_f32_optsize(float %a) #0 {
%B = udiv <2 x i64> splat (i64 1), splat (i64 -1)
%1 = call float @llvm.ceil.f32(float %a)
store <2 x i64> %B, ptr @G.2, align 16
ret float %1
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.ceil.f32(float) #1
attributes #0 = { nounwind optsize }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinx,+zbb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinx,+zbb -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: udiv: ' %B = udiv <2 x i64> splat (i64 1), splat (i64 -1)' (in function: ceil_f32_optsize)
warning: Instruction selection used fallback path for ceil_f32_optsize
Occurrences (3):
| Input | Function | Config |
|---|
| double-intrinsics-strict.3064d6d849.ll (mutant of double-intrinsics-strict.ll) | floor_f64 | -mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zdinx -O3 |
| fround-optsize.221d59ff25.ll (mutant of fround-optsize.ll) | ceil_f32_optsize | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinx,+zbb -O0 |
| wide-scalar-shift-by-byte-multiple-legalization.bb6f15ff.cda5d89c0c.ll (mutant of wide-scalar-shift-by-byte-multiple-legalization.bb6f15ff.ll) | ashr_32bytes_wordOff | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1 |
Generated 2026-11-29 14:49 UTC.