[LLVMdev] How to use LLVM optimizations with clang

Abdul Wahid Memon engrwahidmemon at gmail.com
Thu Jun 7 10:59:45 PDT 2012


Hello everyone

I am trying to use some LLVM optimizations like -die or -adce. Is it
possible to use them along clang?

Or is there a way where these optimization can be passed on to "opt"
tool through clang, if opt is being used by clang behind the scenes?

Thanks alot

Regards

Shahzad



More information about the llvm-dev mailing list