fallback: legalize: G_FSINCOS s32

Run:main-04ca53e65f-20261014-105623
Kind:fallback
Category:legalize: G_FSINCOS s32
Occurrences:6 in 2 configs, 1 test files
Snippet from:llvm.sincos.ll @test_sincos_f32 via llvm-extract
Config:-mtriple=riscv32-linux-gnu -mattr=+d
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define { float, float } @test_sincos_f32(float %a) #0 {
  %result = call { float, float } @llvm.sincos.f32(float %a)
  ret { float, float } %result
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { float, float } @llvm.sincos.f32(float) #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:_(s32), %2:_ = G_FSINCOS %0:_ (in function: test_sincos_f32)
warning: Instruction selection used fallback path for test_sincos_f32

Occurrences (6):

InputFunctionConfig
llvm.sincos.lltest_sincos_f32-mtriple=riscv32-linux-gnu -mattr=+d
llvm.sincos.lltest_sincos_f32-mtriple=riscv64-linux-gnu -mattr=+d
llvm.sincos.b0ee9f132c.ll (mutant of llvm.sincos.ll)test_sincos_f32-mtriple=riscv64-linux-gnu -mattr=+d
llvm.sincos.bc71eaa787.ll (mutant of llvm.sincos.ll)test_sincos_f32-mtriple=riscv64-linux-gnu -mattr=+d
llvm.sincos.d5aec73641.ll (mutant of llvm.sincos.ll)test_sincos_f32-mtriple=riscv32-linux-gnu -mattr=+d
llvm.sincos.fd192fd109.ll (mutant of llvm.sincos.ll)test_sincos_f32-mtriple=riscv32-linux-gnu -mattr=+d

Generated 2026-10-15 08:05 UTC.