fallback: legalize: G_UREM <2 x s64>
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_UREM <2 x s64> NEW |
| Occurrences: | 6 in 6 configs, 2 test files |
| Snippet from: | stack-offset.8af1136f01.ll (mutant of stack-offset.ll) @align_4 via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv64 -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | https://godbolt.org/z/1Ev13cx7z (llc-assertions-trunk, checked 2026-10-14 11:50 UTC): G reproduces |
Snippet:
define <2 x i64> @align_4() {
%B = urem <2 x i64> splat (i64 1), zeroinitializer
ret <2 x i64> %B
}
Compiler Explorer panes:
| Pane | Options | Exit | Insts | stderr |
|---|
| GlobalISel | -mtriple=riscv64 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 0 | 1 | remark: <unknown>:0:0: unable to legalize instruction: %4:_(<2 x s64>) = G_UREM %0:_, %2:_ (in function: align_4) warning: Instruction selection used fallback path for align_4 |
| SelectionDAG (control) | -mtriple=riscv64 -verify-machineinstrs -global-isel=0 | 0 | 1 | - |
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %4:_(<2 x s64>) = G_UREM %0:_, %2:_ (in function: align_4)
warning: Instruction selection used fallback path for align_4
Occurrences (6):
| Input | Function | Config |
|---|
| rv64xandesperf.8fc2df73b9.ll (mutant of rv64xandesperf.ll) | sexti32_i64 | -mtriple=riscv64 -mattr=+xandesperf -verify-machineinstrs |
| stack-offset.8af1136f01.ll (mutant of stack-offset.ll) | align_4 | -mtriple=riscv64 -verify-machineinstrs |
| stack-offset.9fb6fdc7eb.ll (mutant of stack-offset.ll) | align_4 | -mtriple=riscv32 -verify-machineinstrs -mattr=+xqcilia |
| stack-offset.bc2df536e3.ll (mutant of stack-offset.ll) | align_4 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zba |
| stack-offset.fc3ef3af02.ll (mutant of stack-offset.ll) | align_4 | -mtriple=riscv32 -verify-machineinstrs |
| stack-offset.fdb80a54cd.ll (mutant of stack-offset.ll) | align_4 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zba |
Generated 2026-10-15 08:05 UTC.