fallback: translate: sext <N x i8>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: sext <N x i8> M |
| Occurrences: | 3 in 3 configs, 2 test files, 2 more counted only |
| Snippet from: | rvp-widening-sub-acc.9284fb6e62.ll (mutant of rvp-widening-sub-acc.ll) @test_pwsuba_v4i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zfinx,+zbb -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <4 x i16> @test_pwsuba_v4i8(<4 x i16> %rd, <4 x i8> %a, <4 x i8> %b) {
%ext.a = sext <4 x i8> %a to <4 x i16>
%ext.b = sext <4 x i8> %b to <4 x i16>
%sum.a = add <4 x i16> %rd, %ext.a
%sum.b = sub <4 x i16> %ext.b, %ext.b
%C = icmp sge <4 x i16> %rd, %sum.a
store <4 x i1> %C, ptr poison, align 1
ret <4 x i16> %sum.b
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zfinx,+zbb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zfinx,+zbb -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: sext: ' %ext.a = sext <4 x i8> %a to <4 x i16>' (in function: test_pwsuba_v4i8)
warning: Instruction selection used fallback path for test_pwsuba_v4i8
Occurrences (3):
| Input | Function | Config |
|---|
| rvp-widening-add-acc.2b0af99add.ll (mutant of rvp-widening-add-acc.ll) | test_pwadda_v4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zfinx,+zbb -O3 |
| rvp-widening-add-acc.450afaa4ac.ll (mutant of rvp-widening-add-acc.ll) | test_pwadda_v4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zfinx,+xtheadba -O0 |
| rvp-widening-sub-acc.9284fb6e62.ll (mutant of rvp-widening-sub-acc.ll) | test_pwsuba_v4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zfinx,+zbb -O0 |
Generated 2026-11-29 14:49 UTC.