fallback: translate: alloca <vscale x N x i32>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: alloca <vscale x N x i32> M |
| Occurrences: | 4 in 4 configs, 4 test files, 5 more counted only |
| Snippet from: | half-br-fcmp.edd591f551.ll (mutant of half-br-fcmp.ll) @br_fcmp_false via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin,+zve32x,+zicond -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
declare void @abort()
; Function Attrs: nounwind
define void @br_fcmp_false(half %a, half %b) #0 {
%A = alloca <vscale x 2 x i32>, align 8
store <vscale x 2 x i32> poison, ptr %A, align 8
%1 = fcmp false half %a, %b
br i1 %1, label %if.then, label %if.else
if.then: ; preds = %0
%B = ashr <vscale x 2 x i32> splat (i32 -1), zeroinitializer
store <vscale x 2 x i32> %B, ptr %A, align 8
ret void
if.else: ; preds = %0
tail call void @abort()
unreachable
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin,+zve32x,+zicond -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin,+zve32x,+zicond -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: alloca: ' %A = alloca <vscale x 2 x i32>, align 8' (in function: br_fcmp_false)
warning: Instruction selection used fallback path for br_fcmp_false
Occurrences (4):
| Input | Function | Config |
|---|
| commutable-zvdot4a8i.b22f55b2c3.ll (mutant of commutable-zvdot4a8i.ll) | commutable_vdot4a_vv_masked | -mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-zvdot4a8i,+zhinx -O2 -code-model=medium |
| half-br-fcmp.edd591f551.ll (mutant of half-br-fcmp.ll) | br_fcmp_false | -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin,+zve32x,+zicond -O1 |
| vdot4a.7185c92f98.ll (mutant of vdot4a.ll) | intrinsic_vdot4a_vv_nxv2i32_nxv2i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zhinx -O2 |
| vdot4au.bdf29e7f.df5eadc3e6.ll (mutant of vdot4au.bdf29e7f.ll) | intrinsic_vdot4au_vx_nxv16i32_i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zdinx,+zicond -O3 |
Generated 2026-11-29 14:49 UTC.