fallback: legalize: G_BITCAST <2 x s32>,<4 x s16>
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | legalize: G_BITCAST <2 x s32>,<4 x s16> |
| Occurrences: | 4 in 1 configs, 1 test files |
| Snippet from: | rvp-widening-convert.ll @test_pwcvth_v2i16 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 <2 x i32> @test_pwcvth_v2i16(<2 x i16> %a) {
%shuffle = shufflevector <2 x i16> zeroinitializer, <2 x i16> %a, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
%res = bitcast <4 x i16> %shuffle to <2 x i32>
ret <2 x i32> %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: %6:_(<2 x s32>) = G_BITCAST %3:_(<4 x s16>) (in function: test_pwcvth_v2i16)
warning: Instruction selection used fallback path for test_pwcvth_v2i16
Occurrences (4):
| Input | Function | Config |
|---|
| rvp-widening-convert.ll | test_pwcvth_v2i16 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-widening-convert.9bb5c6787c.ll (mutant of rvp-widening-convert.ll) | test_pwcvth_v2i16 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-widening-convert.9fcb38a1e8.ll (mutant of rvp-widening-convert.ll) | test_pwcvth_v2i16 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-widening-convert.de705c1275.ll (mutant of rvp-widening-convert.ll) | test_pwcvth_v2i16 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.