[llvm-commits] [llvm] r112420 - /llvm/trunk/include/llvm/Support/StandardPasses.h

Duncan Sands baldrick at free.fr
Sun Aug 29 00:24:29 PDT 2010


Hi Chris,

> Stop explicitly scheduling domfrontier before the loop passes,
> since none of them use it.  With this, we now only run
> domfrontier (an N^2 analysis) 3 times at clang -O3: once for
> "early" per-function cleanup, once at the start of the
> per-function pipeline to support SRoA, and once late because
> the EHPrepare class uses it.
>
> EHPrepare needs to stop using it, this is silly and wasteful.

I never got around to changing it to use the SSA updator.  That
said, I could easily change it to not promote the alloca to a
register.  Since it's only used if an exception is raised, that
wouldn't be a big loss.

Ciao,

Duncan.



More information about the llvm-commits mailing list