fallback: translate: srem i64

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:translate: srem i64 M
Occurrences:8 in 8 configs, 3 test files
Snippet from:half-round-conv.11dac8bbe7.ll (mutant of half-round-conv.ll) @test_roundeven_si64 via llvm-extract
Config:-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi=ilp32
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define i64 @test_roundeven_si64(half %x) {
  %B = srem i64 -9223372036854775808, -1
  ret i64 %B
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: srem: '  %B = srem i64 -9223372036854775808, -1' (in function: test_roundeven_si64)
warning: Instruction selection used fallback path for test_roundeven_si64

Occurrences (8):

InputFunctionConfig
double-round-conv.563684d64e.ll (mutant of double-round-conv.ll)test_roundeven_si64-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
double-round-conv.761ebfeea9.ll (mutant of double-round-conv.ll)test_roundeven_si64-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
float-round-conv.9f72c4c418.ll (mutant of float-round-conv.ll)test_roundeven_si64-mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -target-abi=lp64
float-round-conv.b0e79f9f66.ll (mutant of float-round-conv.ll)test_roundeven_si64-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32
half-round-conv.11dac8bbe7.ll (mutant of half-round-conv.ll)test_roundeven_si64-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi=ilp32
half-round-conv.6334de97e5.ll (mutant of half-round-conv.ll)test_roundeven_si64-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -target-abi=ilp32
half-round-conv.a47e208aaa.ll (mutant of half-round-conv.ll)test_roundeven_si64-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -target-abi=lp64
half-round-conv.e5baab63ed.ll (mutant of half-round-conv.ll)test_roundeven_si64-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi=lp64

Generated 2026-11-29 14:49 UTC.