Umesh Kalappa via llvm-dev
2020-Jun-26 14:06 UTC
[llvm-dev] How do we disable the particular opt in llvm ?
Hi Everyone, How do we particular disable optimization in llvm with -O2 enabled? for example "Interprocedural Sparse Conditional Constant Propagation" Thank you ~Umesh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200626/ce248611/attachment.html>
Neil Henning via llvm-dev
2020-Jun-26 15:14 UTC
[llvm-dev] How do we disable the particular opt in llvm ?
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. On Fri, Jun 26, 2020 at 3:06 PM Umesh Kalappa via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi Everyone, > > How do we particular disable optimization in llvm with -O2 enabled? > > for example > "Interprocedural Sparse Conditional Constant Propagation" > > Thank you > ~Umesh > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-- Neil Henning Senior Software Engineer Compiler unity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200626/e677b5db/attachment.html>
Umesh Kalappa via llvm-dev
2020-Jun-26 19:02 UTC
[llvm-dev] How do we disable the particular opt in llvm ?
Hi Neil, I'm using clang here. Umesh On Fri, Jun 26, 2020, 20:44 Neil Henning <neil.henning at unity3d.com> wrote:> 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. > > On Fri, Jun 26, 2020 at 3:06 PM Umesh Kalappa via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Hi Everyone, >> >> How do we particular disable optimization in llvm with -O2 enabled? >> >> for example >> "Interprocedural Sparse Conditional Constant Propagation" >> >> Thank you >> ~Umesh >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> > > > -- > Neil Henning > Senior Software Engineer Compiler > unity.com >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200627/58581487/attachment.html>