From 5c8f2f73a609cc3703a9d33e421538d5cd24414a Mon Sep 17 00:00:00 2001 From: "William S. Moses" Date: Wed, 4 Dec 2024 17:11:19 -0500 Subject: [PATCH] Mark extract value types --- src/compiler.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler.jl b/src/compiler.jl index 5eccd1e80d..78a266c78e 100644 --- a/src/compiler.jl +++ b/src/compiler.jl @@ -4148,7 +4148,7 @@ end if !API.HasFromStack(inst) && ((isa(inst, LLVM.CallInst) && - (!isa(fn, LLVM.Function) || isempty(blocks(fn))) ) || isa(inst, LLVM.LoadInst) || isa(inst, LLVM.AllocaInst)) + (!isa(fn, LLVM.Function) || isempty(blocks(fn))) ) || isa(inst, LLVM.LoadInst) || isa(inst, LLVM.AllocaInst) || isa(inst, LLVM.ExtractValueInst)) legal, source_typ, byref = abs_typeof(inst) codegen_typ = value_type(inst) if legal