fallback: legalize: G_SET_ROUNDING s32

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_SET_ROUNDING s32
Occurrences:34 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 bc8218b282
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 (34):

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.0d74d8e359.ll (mutant of fpenv.ll)func_02-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.0d74d8e359.ll (mutant of fpenv.ll)func_05-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.156df90d64.ll (mutant of fpenv.ll)func_06-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.156df90d64.ll (mutant of fpenv.ll)func_07-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.1f4006f641.ll (mutant of fpenv.ll)func_06-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.6648b16c0d.ll (mutant of fpenv.ll)func_06-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.73db4261a8.ll (mutant of fpenv.ll)func_02-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.73db4261a8.ll (mutant of fpenv.ll)func_05-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.788b5511be.ll (mutant of fpenv.ll)func_02-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.788b5511be.ll (mutant of fpenv.ll)func_05-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.958009228f.ll (mutant of fpenv.ll)func_02-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.958009228f.ll (mutant of fpenv.ll)func_05-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.9e680d9fc4.ll (mutant of fpenv.ll)func_06-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.9e680d9fc4.ll (mutant of fpenv.ll)func_07-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.a827822979.ll (mutant of fpenv.ll)func_04-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.a827822979.ll (mutant of fpenv.ll)func_07-mtriple=riscv32 -mattr=+f -verify-machineinstrs
fpenv.b9598f088a.ll (mutant of fpenv.ll)func_04-mtriple=riscv64 -mattr=+f -verify-machineinstrs
fpenv.b9598f088a.ll (mutant of fpenv.ll)func_07-mtriple=riscv64 -mattr=+f -verify-machineinstrs
frm-write-in-loop.606879cdd7.ll (mutant of frm-write-in-loop.ll)bar-O3 -mtriple=riscv64 -mattr=+f,+d
frm-write-in-loop.b943ae10bc.ll (mutant of frm-write-in-loop.ll)bar-O3 -mtriple=riscv64 -mattr=+f,+d
frm-write-in-loop.c08b860a96.ll (mutant of frm-write-in-loop.ll)bar-O3 -mtriple=riscv64 -mattr=+f,+d

Generated 2026-10-15 08:05 UTC.