To Know How --disable-Optimizer flag work

9 views
Skip to first unread message

abhinavc...@gmail.com

unread,
Aug 19, 2020, 6:59:42 AM8/19/20
to mcsema-dev
When i am using the flag --disable optimizer i am getting all my basic block currectly .I have verified it through ll file
But i dont know the reason when i am not using this flag only one block is getting created 
can u explain why

Artem Dinaburg

unread,
Aug 21, 2020, 1:22:20 AM8/21/20
to abhinavc...@gmail.com, mcsema-dev, Peter Goodman
Hi Abhinav,

By default we enable optimizations that try to eliminate dead or unused code. Try optimizing the unoptimized code via `opt -O3` to see if LLVM itself will optimize it away.

Thanks,
Artem

--
You received this message because you are subscribed to the Google Groups "mcsema-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mcsema-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcsema-dev/4b6124a7-a8e0-40f5-acbb-2e66148713a2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages