Displaying 1 result from an estimated 1 matches for "localstruct_".
2014 Nov 26
2
[LLVMdev] crash with large structure values on the stack
...mple input crashes if you run it through llc on x86.
[begin example]
; ModuleID = 'test'
%struct_2 = type { [90000 x %struct_1] }
%struct_1 = type { i8 }
define void @testFcn(%struct_2 %in1) {
testFcn_entry:
%in1_ = alloca %struct_2
store %struct_2 %in1, %struct_2* %in1_, align 8
%localStruct_ = alloca %struct_2
store %struct_2 %in1, %struct_2* %localStruct_, align 8
br label %exit
exit: ; preds = %testFcn_entry
ret void
}
[end example]
It looks like at some stage of the backend compiler flow there is a "merge_values" instruct...