fallback: legalize: G_INTRINSIC <2 x s32>,<2 x s16>,s32
| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC <2 x s32>,<2 x s16>,s32 |
| Occurrences: | 8 in 1 configs, 1 test files |
| Snippet from: | rvp-widening-shift.ll @pwsll_v2i16 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i32> @llvm.riscv.pwsll.v2i32.v2i16(<2 x i16>, i32) #0
define <2 x i32> @pwsll_v2i16(<2 x i16> %x, i32 %shamt) {
%res = call <2 x i32> @llvm.riscv.pwsll.v2i32.v2i16(<2 x i16> %x, i32 %shamt)
ret <2 x i32> %res
}
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x s32>) = G_INTRINSIC intrinsic(@llvm.riscv.pwsll), %0:_(<2 x s16>), %1:_(s32) (in function: pwsll_v2i16)
warning: Instruction selection used fallback path for pwsll_v2i16
Occurrences (8):
| Input | Function | Config |
|---|
| rvp-widening-shift.ll | pwsll_v2i16 | -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs |
| rvp-widening-shift.ll | pwsla_v2i16 | -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs |
| rvp-widening-shift.ll | pwslli_v2i16 | -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs |
| rvp-widening-shift.ll | pwslai_v2i16 | -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs |
| rvp-widening-shift.ll | pwslli_v2i16_31 | -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs |
| rvp-widening-shift.7eafecf64d.ll (mutant of rvp-widening-shift.ll) | pwslai_v2i16 | -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs |
| rvp-widening-shift.aa05732610.ll (mutant of rvp-widening-shift.ll) | pwsll_v2i16 | -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs |
| rvp-widening-shift.b3a00ecf9f.ll (mutant of rvp-widening-shift.ll) | pwslli_v2i16 | -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.