[llvm-commits] More aggressive speculation in SimplifyCFG

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Jan 25 13:19:29 PST 2013


On Jan 25, 2013, at 3:06 AM, Duncan Sands <baldrick at free.fr> wrote:

> I'm worried that TTI use is going to spread all over the IR optimizers because
> using it is tempting and easy, and not because people tried hard to do without
> it but failed.  By failed I mean when real-world programs show a significant
> improvement thanks to using target information, and it wasn't possible to get
> an equivalent improvement using a clever pure IR solution + codegen.

I completely agree.

We should be extremely careful about allowing target-dependent optimizations, particularly during the early passes that are really canonicalizing and not optimizing.

/jakob




More information about the llvm-commits mailing list