fallback: translate: sub <N x i64>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: sub <N x i64> M |
| Occurrences: | 5 in 5 configs, 5 test files, 9 more counted only |
| Snippet from: | attributes.548bc70d65.ll (mutant of attributes.ll) @addi via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global <2 x i64>
define i32 @addi(i32 %a) {
%B1 = sub <2 x i64> splat (i64 9223372036854775807), zeroinitializer
%1 = add i32 %a, 1
%B = ashr i32 %a, 2147483647
store i32 %B, ptr poison, align 4
store <2 x i64> %B1, ptr @G.1, align 16
ret i32 %1
}
Reproduce:
llc -mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: sub: ' %B1 = sub <2 x i64> splat (i64 9223372036854775807), zeroinitializer' (in function: addi)
warning: Instruction selection used fallback path for addi
Occurrences (5):
| Input | Function | Config |
|---|
| attributes.548bc70d65.ll (mutant of attributes.ll) | addi | -mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs |
| fixed-vectors-select-addsub.a821f53634.ll (mutant of fixed-vectors-select-addsub.ll) | select_addsub_v8i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O1 |
| fixed-vectors-vssubu-vp.44aa1b32cc.ll (mutant of fixed-vectors-vssubu-vp.ll) | vssubu_vv_v2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O3 |
| inline-asm-zfinx-constraint-r.2024f61bf9.ll (mutant of inline-asm-zfinx-constraint-r.ll) | constraint_f_float | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zfinx -O0 -code-model=medium |
| rv64zbb-zbkb.3a9448c1c2.ll (mutant of rv64zbb-zbkb.ll) | rori_i32_fshl_nosext | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbkb,+zdinx,+zbb -O3 |
Generated 2026-11-29 14:49 UTC.