fallback: translate: urem <N x i32>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: urem <N x i32> M |
| Occurrences: | 5 in 5 configs, 5 test files, 11 more counted only |
| Snippet from: | combine.5c1ca33623.ll (mutant of combine.ll) @constant_to_rhs via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadba,+zdinx -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i32 @constant_to_rhs(i32 %x) {
%B1 = urem <4 x i32> splat (i32 -2147483648), splat (i32 65536)
%B = srem <8 x i8> splat (i8 127), splat (i8 16)
%a = add i32 1, %x
store <8 x i8> %B, ptr poison, align 8
store <4 x i32> %B1, ptr poison, align 16
ret i32 %a
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadba,+zdinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadba,+zdinx -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: urem: ' %B1 = urem <4 x i32> splat (i32 -2147483648), splat (i32 65536)' (in function: constant_to_rhs)
warning: Instruction selection used fallback path for constant_to_rhs
Occurrences (5):
| Input | Function | Config |
|---|
| combine.5c1ca33623.ll (mutant of combine.ll) | constant_to_rhs | -mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadba,+zdinx -O2 |
| fixed-vectors-shuffle-exact-vlen.58ea213c.ad243e62.6bdd19b5.1481385e9c.ll (mutant of fixed-vectors-shuffle-exact-vlen.58ea213c.ad243e62.6bdd19b5.ll) | m4_square_num_of_shuffles_in_chunks | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx,+zbb -O3 |
| float-intrinsics.a68a767c3d.ll (mutant of float-intrinsics.ll) | copysign_f32 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx,+zcb,+zba -O2 |
| float-maximum-minimum.dbcde7846b.ll (mutant of float-maximum-minimum.ll) | fmaximum_f32 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O1 |
| rvp-widening-shift.13a2b1e591.ll (mutant of rvp-widening-shift.ll) | pwslli_v4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zhinx -O2 |
Generated 2026-11-29 14:49 UTC.