[LLVMdev] pass to eliminate unneeded "br" statements
edA-qa mort-ora-y
eda-qa at disemia.com
Fri Apr 12 20:42:17 PDT 2013
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
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130413/94ece8fb/attachment.sig>
More information about the llvm-dev
mailing list