fallback: legalize: G_FCMP

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_FCMP
Occurrences:18 in 6 configs, 6 test files
Snippet from:fp128.ll @fcmp via llvm-extract
Config:-mtriple=riscv32
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i1 @fcmp(fp128 %x, fp128 %y) #0 {
  %a = fcmp oeq fp128 %x, %y
  ret i1 %a
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %6:_(i32) = G_FCMP floatpred(oeq), %0:_(f128), %1:_ (in function: fcmp)
warning: Instruction selection used fallback path for fcmp

Occurrences (18) (first 15):

InputFunctionConfig
fp128.llfcmp-mtriple=riscv32
fp128.llfcmp-mtriple=riscv32 -mattr=+d
fp128.lltest_load_and_cmp-mtriple=riscv32 -verify-machineinstrs
pr93587.llf-mtriple=riscv64 -O0
double-intrinsics.1cdd2c254a.ll (mutant of double-intrinsics.ll)iszero_q_fpclass-mtriple=riscv32
double-intrinsics.238209eba0.ll (mutant of double-intrinsics.ll)iszero_q_fpclass-mtriple=riscv32 -mattr=+d -target-abi=ilp32d
fp128.101598fbac.ll (mutant of fp128.ll)test_load_and_cmp-mtriple=riscv32 -verify-machineinstrs
fp128.219453fc64.ll (mutant of fp128.ll)test_facos-mtriple=riscv32 -mattr=+d
fp128.289814046b.ll (mutant of fp128.ll)test_facos-mtriple=riscv32
fp128.4df08dd177.ll (mutant of fp128.ll)sqrt-mtriple=riscv32
fp128.9970cfef74.ll (mutant of fp128.ll)sqrt-mtriple=riscv32 -mattr=+d
fp128.b26b124633.ll (mutant of fp128.ll)fmaximum-mtriple=riscv32 -verify-machineinstrs
fp128.f4e1a8cc32.ll (mutant of fp128.ll)fmaximum-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.196584e201.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.5285249d4b.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv32 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.