fallback: legalize: G_STRICT_FCMP
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_STRICT_FCMP |
| Occurrences: | 244 in 16 configs, 6 test files |
| Snippet from: | half-fcmp-strict.ll @fcmp_oeq via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f -disable-strictnode-mutation |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind strictfp
define i32 @fcmp_oeq(half %a, half %b) #0 {
%1 = call i1 @llvm.experimental.constrained.fcmp.f16(half %a, half %b, metadata !"oeq", metadata !"fpexcept.strict") #2
%2 = zext i1 %1 to i32
ret i32 %2
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare i1 @llvm.experimental.constrained.fcmp.f16(half, half, metadata, metadata) #1
attributes #0 = { nounwind strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }
attributes #2 = { strictfp }
Reproduce:
llc -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f -disable-strictnode-mutation -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f -disable-strictnode-mutation -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %2:_(i1) = G_STRICT_FCMP floatpred(oeq), %0:_(f16), %1:_ (in function: fcmp_oeq)
warning: Instruction selection used fallback path for fcmp_oeq
Occurrences (244) (first 15):
| Input | Function | Config |
|---|
| double-fcmp-strict.ll | fcmp_oeq | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_ogt | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_oge | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_olt | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_ole | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_one | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_ord | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_ueq | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_ugt | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_uge | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_ult | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_ule | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_une | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_uno | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmp_oeq | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
Generated 2026-11-29 14:49 UTC.