[PATCH] D27560: Always run GlobalDCE at O0
Joerg Sonnenberger via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 14:43:46 PST 2016
On Wed, Dec 14, 2016 at 02:39:09AM +0000, Robinson, Paul wrote:
>
>
> > -----Original Message-----
> > From: llvm-commits [mailto:llvm-commits-bounces at lists.llvm.org] On Behalf
> > Of Joerg Sonnenberger via llvm-commits
> > Sent: Tuesday, December 13, 2016 6:24 PM
> > To: llvm-commits at lists.llvm.org
> > Subject: Re: [PATCH] D27560: Always run GlobalDCE at O0
> >
> > On Tue, Dec 13, 2016 at 05:55:55PM -0800, Mehdi Amini via llvm-commits
> > wrote:
> > > Also, if always_inline is “required” for correctness it should process
> > all the calligraph.
> >
> > always_inline is required for correctness. One example is a wrapper
> > function around vfork or setjmp.
>
> Correctness of C/C++, or correctness of LLVM IR? The difference is in
> whether Clang sets up the always-inliner to run at O0, versus whether
> opt (and LLVM's default pass pipeline) set it up to run at O0.
Effectively both. All always_inline functions have to be inlined at
least one (in the fix point sense), who is doing that doesn't matter as
much.
Joerg
More information about the llvm-commits
mailing list