Displaying 1 result from an estimated 1 matches for "1004542".
Did you mean:
100452
2009 Jun 18
2
[LLVMdev] Query on optimizing away function calls.
Hi all.
Consider the following code:
------------
define void @func() {
%a = alloca i32
store i32 42, i32* %a
call void @func2(i32* %a) nounwind
ret void
}
define void @func2(i32* %a) nounwind {
store i32 43, i32* %a
ret void
}
------------
It is possible to optimize this to:
------------
define void @func() {
ret void
}
define void @func2(i32* %a) nounwind {