fallback: legalize: G_STRICT_FCMPS
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | legalize: G_STRICT_FCMPS |
| Occurrences: | 190 in 8 configs, 3 test files |
| Snippet from: | half-fcmp-strict.ll @fcmps_oeq via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f -disable-strictnode-mutation |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind strictfp
define i32 @fcmps_oeq(half %a, half %b) #0 {
%1 = call i1 @llvm.experimental.constrained.fcmps.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.fcmps.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_FCMPS floatpred(oeq), %0:_(f16), %1:_ (in function: fcmps_oeq)
warning: Instruction selection used fallback path for fcmps_oeq
Occurrences (190) (first 15):
| Input | Function | Config |
|---|
| double-fcmp-strict.ll | fcmps_oeq | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_ogt | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_oge | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_olt | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_ole | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_one | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_ord | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_ueq | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_ugt | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_uge | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_ult | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_ule | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_une | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_uno | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-fcmp-strict.ll | fcmps_oeq | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
Generated 2026-11-29 14:49 UTC.