fallback: translate: alloca i1

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:translate: alloca i1 M
Occurrences:425 in 69 configs, 72 test files
Snippet from:double-isnan.4104d24f6a.ll (mutant of double-isnan.ll) @double_is_nan via llvm-extract
Config:-mtriple=riscv64 -mattr=+zdinx -target-abi lp64 -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:https://godbolt.org/z/46EfcEs11 (llc-assertions-trunk, checked 2026-11-11 10:15 UTC): G reproduces

Snippet:

@G.2 = external global double

; Function Attrs: nounwind
define zeroext i1 @double_is_nan(double %a) #0 {
  %A = alloca i1, align 1
  store i1 poison, ptr %A, align 1
  %LGV = load double, ptr @G.2, align 8
  %1 = fcmp uno double %a, 0.000000e+00
  %C = fcmp ueq double %LGV, %a
  %B = mul i1 %1, false
  store i1 %B, ptr poison, align 1
  store i1 %C, ptr %A, align 1
  ret i1 %1
}

attributes #0 = { nounwind }

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv64 -mattr=+zdinx -target-abi lp64 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*013remark: <unknown>:0:0: unable to translate instruction: alloca: ' %A = alloca i1, align 1' (in function: double_is_nan)
warning: Instruction selection used fallback path for double_is_nan
SelectionDAG (control)-mtriple=riscv64 -mattr=+zdinx -target-abi lp64 -verify-machineinstrs -global-isel=0013-

Reproduce:

llc -mtriple=riscv64 -mattr=+zdinx -target-abi lp64 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zdinx -target-abi lp64 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: alloca: '  %A = alloca i1, align 1' (in function: double_is_nan)
warning: Instruction selection used fallback path for double_is_nan

Occurrences (425) (first 15):

InputFunctionConfig
codemodel-lowering.04cd0f638f.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=medium -verify-machineinstrs
codemodel-lowering.0c8a8afd00.ll (mutant of codemodel-lowering.ll)lower_extern_weak-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=medium -verify-machineinstrs
codemodel-lowering.1c4da2db0b.ll (mutant of codemodel-lowering.ll)lower_extern_weak-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=large -verify-machineinstrs
codemodel-lowering.2e43c5e5a4.ll (mutant of codemodel-lowering.ll)lower_global-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=large -verify-machineinstrs
codemodel-lowering.3c0f439a8c.ll (mutant of codemodel-lowering.ll)lower_global-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs -mattr=+xqcili
codemodel-lowering.6209191d5c.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=small -verify-machineinstrs
codemodel-lowering.6dee527fca.ll (mutant of codemodel-lowering.ll)lower_global-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=medium -verify-machineinstrs
codemodel-lowering.7142731719.ll (mutant of codemodel-lowering.ll)lower_global-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=small -verify-machineinstrs
codemodel-lowering.77972fd407.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=medium -verify-machineinstrs
codemodel-lowering.a1d43c9cba.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs
codemodel-lowering.a3d6cc9e1d.ll (mutant of codemodel-lowering.ll)lower_extern_weak-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs -mattr=+xqcili
codemodel-lowering.ba66d7e4d6.ll (mutant of codemodel-lowering.ll)lower_global-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs
codemodel-lowering.bdc237e77a.ll (mutant of codemodel-lowering.ll)lower_extern_weak-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=medium -verify-machineinstrs
codemodel-lowering.d27eea32de.ll (mutant of codemodel-lowering.ll)lower_extern_weak-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=small -verify-machineinstrs
codemodel-lowering.df3bd2136d.ll (mutant of codemodel-lowering.ll)lower_extern_weak-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.