fallback: legalize: G_SREM <4 x s8>
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | legalize: G_SREM <4 x s8> NEW |
| Occurrences: | 2 in 2 configs, 2 test files |
| Snippet from: | rvp-widening-convert.9bb5c6787c.ll (mutant of rvp-widening-convert.ll) @test_pwcvtu_v4i8 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <4 x i16> @test_pwcvtu_v4i8(<4 x i8> %a) {
%B = srem <4 x i8> %a, zeroinitializer
%res = zext <4 x i8> %B to <4 x i16>
ret <4 x i16> %res
}
Reproduce:
llc -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -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:_(<4 x s8>) = G_SREM %0:_, %3:_ (in function: test_pwcvtu_v4i8)
warning: Instruction selection used fallback path for test_pwcvtu_v4i8
Occurrences (2):
| Input | Function | Config |
|---|
| rvp-simd-32.70b277dacc.ll (mutant of rvp-simd-32.ll) | test_psrem_b | -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-widening-convert.9bb5c6787c.ll (mutant of rvp-widening-convert.ll) | test_pwcvtu_v4i8 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.