fallback: translate: fcmp <N x float>
| Run: | main-b577f07195-20261129-101839 |
| Kind: | fallback |
| Category: | translate: fcmp <N x float> M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | llvm.frexp.bc8f85e409.ll (mutant of llvm.frexp.ll) @test_frexp_v4f32_v4i32_only_use_fract via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define <4 x float> @test_frexp_v4f32_v4i32_only_use_fract(<4 x float> %a) #0 {
%C = fcmp oeq <4 x float> %a, splat (float +qnan)
%result = call { <4 x float>, <4 x i32> } @llvm.frexp.v4f32.v4i32(<4 x float> %a)
%result.0 = extractvalue { <4 x float>, <4 x i32> } %result, 0
store <4 x i1> %C, ptr poison, align 1
ret <4 x float> %result.0
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare { <4 x float>, <4 x i32> } @llvm.frexp.v4f32.v4i32(<4 x float>) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: fcmp: ' %C = fcmp oeq <4 x float> %a, splat (float +qnan)' (in function: test_frexp_v4f32_v4i32_only_use_fract)
warning: Instruction selection used fallback path for test_frexp_v4f32_v4i32_only_use_fract
Occurrences (2):
| Input | Function | Config |
|---|
| llvm.frexp.bc8f85e409.ll (mutant of llvm.frexp.ll) | test_frexp_v4f32_v4i32_only_use_fract | -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 |
| llvm.frexp.e0d86eee2f.ll (mutant of llvm.frexp.ll) | test_frexp_v4f32_v4i32_only_use_fract | -mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32 |
Generated 2026-11-29 14:49 UTC.