Hi Everyone,
How do we particular disable optimization in llvm with -O2 enabled?
for example
“Interprocedural Sparse Conditional Constant Propagation”
Thank you
~Umesh
Hi Everyone,
How do we particular disable optimization in llvm with -O2 enabled?
for example
“Interprocedural Sparse Conditional Constant Propagation”
Thank you
~Umesh
Hey Umesh!
How are you running the optimization passes here? Using the command line with opt? Using clang? Or are you using a PassManagerBuilder?
Cheers,
-Neil.
Hi Neil,
I’m using clang here.
Umesh
Not all passes have an “off switch”. As far as I can tell, (IP)SCCP does not have one.
We can, probably should, add those to all passes though.