fallback: legalize: G_SREM <2 x s16>
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_SREM <2 x s16> NEW |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | rvp-simd-32.211a00a3e4.ll (mutant of rvp-simd-32.ll) @test_orn_h via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <2 x i16> @test_orn_h(<2 x i16> %a, <2 x i16> %b) {
%not = xor <2 x i16> %b, splat (i16 -1)
%B = srem <2 x i16> %not, %b
ret <2 x i16> %B
}
Reproduce:
llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x s16>) = G_SREM %4:_, %1:_ (in function: test_orn_h)
warning: Instruction selection used fallback path for test_orn_h
Occurrences (1):
| Input | Function | Config |
|---|
| rvp-simd-32.211a00a3e4.ll (mutant of rvp-simd-32.ll) | test_orn_h | -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.