fallback: legalize: G_SET_FPENV s64

Run:main-04ca53e65f-20261014-105623
Kind:fallback
Category:legalize: G_SET_FPENV s64
Occurrences:3 in 3 configs, 1 test files
Snippet from:fpenv-xlen.ll @func_set_fpenv via llvm-extract
Config:-mtriple=riscv64 -mattr=+f -verify-machineinstrs
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @func_set_fpenv(i64 %fpenv) {
entry:
  call void @llvm.set.fpenv.i64(i64 %fpenv)
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite)
declare void @llvm.set.fpenv.i64(i64) #0

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) }

Reproduce:

llc -mtriple=riscv64 -mattr=+f -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+f -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: G_SET_FPENV %0:_(s64) (in function: func_set_fpenv)
warning: Instruction selection used fallback path for func_set_fpenv

Occurrences (3):

InputFunctionConfig
fpenv-xlen.llfunc_set_fpenv-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv-xlen.llfunc_set_fpenv-mtriple=riscv64 -mattr=+f -verify-machineinstrs -O0
fpenv-xlen.llfunc_set_fpenv-mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.