fallback: legalize: G_INTRINSIC <8 x s8>,s32
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC <8 x s8>,s32 |
| Occurrences: | 3 in 1 configs, 1 test files |
| Snippet from: | rvp-simd-64.ll @test_psll_s_u8x8 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <8 x i8> @test_psll_s_u8x8(<8 x i8> %a, i32 %shamt) {
%res = call <8 x i8> @llvm.riscv.psll.v8i8(<8 x i8> %a, i32 %shamt)
ret <8 x i8> %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <8 x i8> @llvm.riscv.psll.v8i8(<8 x i8>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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: %3:_(<8 x s8>) = G_INTRINSIC intrinsic(@llvm.riscv.psll), %0:_(<8 x s8>), %1:_(s32) (in function: test_psll_s_u8x8)
warning: Instruction selection used fallback path for test_psll_s_u8x8
Occurrences (3):
| Input | Function | Config |
|---|
| rvp-simd-64.ll | test_psll_s_u8x8 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_psrl_s_u8x8 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_psra_s_i8x8 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.