fallback: legalize: G_FSINCOS s64

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_FSINCOS s64
Occurrences:10 in 2 configs, 1 test files
Snippet from:llvm.sincos.ll @test_sincos_f64 via llvm-extract
Config:-mtriple=riscv32-linux-gnu -mattr=+d
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define { double, double } @test_sincos_f64(double %a) #0 {
  %result = call { double, double } @llvm.sincos.f64(double %a)
  ret { double, double } %result
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { double, double } @llvm.sincos.f64(double) #1

attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv32-linux-gnu -mattr=+d -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32-linux-gnu -mattr=+d -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %1:_(s64), %2:_ = G_FSINCOS %0:_ (in function: test_sincos_f64)
warning: Instruction selection used fallback path for test_sincos_f64

Occurrences (10):

InputFunctionConfig
llvm.sincos.lltest_sincos_f64-mtriple=riscv32-linux-gnu -mattr=+d
llvm.sincos.lltest_sincos_f64-mtriple=riscv64-linux-gnu -mattr=+d
llvm.sincos.12d037be11.ll (mutant of llvm.sincos.ll)test_sincos_f64-mtriple=riscv64-linux-gnu -mattr=+d
llvm.sincos.57eb3b06da.ll (mutant of llvm.sincos.ll)test_sincos_f64-mtriple=riscv64-linux-gnu -mattr=+d
llvm.sincos.6f5fd7cf30.ll (mutant of llvm.sincos.ll)test_sincos_f64-mtriple=riscv32-linux-gnu -mattr=+d
llvm.sincos.86b4c369ec.ll (mutant of llvm.sincos.ll)test_sincos_f64-mtriple=riscv32-linux-gnu -mattr=+d
llvm.sincos.936a41eda9.ll (mutant of llvm.sincos.ll)test_sincos_f64-mtriple=riscv64-linux-gnu -mattr=+d
llvm.sincos.dff6f57a30.ll (mutant of llvm.sincos.ll)test_sincos_f64-mtriple=riscv64-linux-gnu -mattr=+d
llvm.sincos.eeed0b4c79.ll (mutant of llvm.sincos.ll)test_sincos_f64-mtriple=riscv32-linux-gnu -mattr=+d
llvm.sincos.f2c81e7331.ll (mutant of llvm.sincos.ll)test_sincos_f64-mtriple=riscv32-linux-gnu -mattr=+d

Generated 2026-10-15 08:05 UTC.