Displaying 2 results from an estimated 2 matches for "_main_1".
Did you mean:
_main__
2013 Apr 13
2
[LLVMdev] pass to eliminate unneeded "br" statements
I've been added various optimizer passes and I end up with code which
looks like this:
define i32 @main() uwtable {
entry:
store i32 ()* @_main_1, i32 ()** @_main, align 8
br label %end
end: ; preds = %entry
ret i32 0
}
Is there another pass to get rid of that "br" instruction and just
inline the "end" block?
--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -...
2013 Apr 13
0
[LLVMdev] pass to eliminate unneeded "br" statements
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of edA-qa mort-ora-y
> Subject: [LLVMdev] pass to eliminate unneeded "br" statements
> define i32 @main() uwtable {
> entry:
> store i32 ()* @_main_1, i32 ()** @_main, align 8
> br label %end
> end: ; preds = %entry
> ret i32 0
> }
> Is there another pass to get rid of that "br" instruction and just
> inline the "end" block?
I would think SimplifyCFG should...