fallback: legalize: G_SET_ROUNDING s32

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_SET_ROUNDING s32
Occurrences:28 in 3 configs, 2 test files
Snippet from:fpenv.ll @func_02 via llvm-extract
Config:-mtriple=riscv32 -mattr=+f -verify-machineinstrs
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @func_02(i32 %rm) {
  call void @llvm.set.rounding(i32 %rm)
  ret void
}

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

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: G_SET_ROUNDING %0:_(s32) (in function: func_02)
warning: Instruction selection used fallback path for func_02

Occurrences (28):

InputFunctionConfig
fpenv.llfunc_02-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.llfunc_03-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.llfunc_04-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.llfunc_05-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.llfunc_06-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.llfunc_07-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.llfunc_02-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.llfunc_03-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.llfunc_04-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.llfunc_05-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.llfunc_06-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.llfunc_07-mtriple=riscv64 -mattr=+f -verify-machineinstrs
frm-write-in-loop.llbar-O3 -mtriple=riscv64 -mattr=+f,+d
fpenv.15cd1ccb02.ll (mutant of fpenv.ll)func_06-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.1ba91b8240.ll (mutant of fpenv.ll)func_02-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.1ba91b8240.ll (mutant of fpenv.ll)func_06-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.473eb6d484.ll (mutant of fpenv.ll)func_06-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.5bce24ea05.ll (mutant of fpenv.ll)func_06-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.6af01854b9.ll (mutant of fpenv.ll)func_04-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.6ba36e0879.ll (mutant of fpenv.ll)func_06-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.86a6e05922.ll (mutant of fpenv.ll)func_02-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.86a6e05922.ll (mutant of fpenv.ll)func_06-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.9b3d64a6d4.ll (mutant of fpenv.ll)func_07-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.a998ef4191.ll (mutant of fpenv.ll)func_07-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.f8160c0ba8.ll (mutant of fpenv.ll)func_04-mtriple=riscv32 -mattr=+f -verify-machineinstrs
frm-write-in-loop.10261e6a12.ll (mutant of frm-write-in-loop.ll)bar-O3 -mtriple=riscv64 -mattr=+f,+d
frm-write-in-loop.6413d9aca2.ll (mutant of frm-write-in-loop.ll)bar-O3 -mtriple=riscv64 -mattr=+f,+d
frm-write-in-loop.e073736a4f.ll (mutant of frm-write-in-loop.ll)bar-O3 -mtriple=riscv64 -mattr=+f,+d

Generated 2026-10-15 08:05 UTC.