Displaying 1 result from an estimated 1 matches for "c0a460a6".
Did you mean:
c02060a6
2015 Mar 05
2
[LLVMdev] Optimizing out redundant alloca involving byval params
Hello all,
I'm trying to find the pass that would convert from:
define void @main(%struct* byval %ptr) {
%val = load %struct* %ptr
%val.ptr = alloca %struct
store %struct %val, %struct* %val.ptr
call void @extern_func(%struct* byval %val.ptr)
ret void
}
to this:
define void @main(%struct* byval %ptr) {
call void @extern_func(%struct* byval %ptr)
ret void
}
First, am I missing