[cfe-dev] No loop optimisation?

Renato Golin via cfe-dev cfe-dev at lists.llvm.org
Fri Nov 6 06:30:54 PST 2015


On 6 November 2015 at 14:25, Joerg Sonnenberger via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Also, if you look at IR make sure to run the appropiate passes first.
> Clang output by default has very few optimisations in the -emit-llvm
> output.

That's intentional. Try -O2 and your IR will look much nicer. :)

--renato



More information about the cfe-dev mailing list