fallback: translate: srem <N x i32>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: srem <N x i32> M |
| Occurrences: | 4 in 4 configs, 4 test files, 13 more counted only |
| Snippet from: | fixed-vectors-vor-vp.427eefe30a.ll (mutant of fixed-vectors-vor-vp.ll) @vor_vv_v2i32_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <2 x i32> @vor_vv_v2i32_unmasked(<2 x i32> %va, <2 x i32> %b, i32 zeroext %evl) {
%B = srem <2 x i32> %b, zeroinitializer
%v = or <2 x i32> %B, %b
ret <2 x i32> %v
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: srem: ' %B = srem <2 x i32> %b, zeroinitializer' (in function: vor_vv_v2i32_unmasked)
warning: Instruction selection used fallback path for vor_vv_v2i32_unmasked
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-vor-vp.427eefe30a.ll (mutant of fixed-vectors-vor-vp.ll) | vor_vv_v2i32_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O3 |
| half-round-conv-sat.12d5d3dbc4.ll (mutant of half-round-conv-sat.ll) | test_roundeven_ui32 | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinxmin,+a -O2 |
| min-max.4396bd91d1.ll (mutant of min-max.ll) | smax_i32_pos_constant_trailing_zeros | -mtriple=riscv64 -mattr=+zfinx,+zvbb -O1 -verify-machineinstrs |
| prefetch.a05be1ee3a.ll (mutant of prefetch.ll) | test_prefetch_constant_address_1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zicbop,+zihintntl,+zdinx,+zbs -O0 |
Generated 2026-11-29 14:49 UTC.