[LLVMdev] IR Passes and TargetTransformInfo: Straw Man

Andrew Trick
Thu, 18 Jul 2013 02:49:19 -0000

On Jul 16, 2013, at 9:38 PM, Andrew Trick <atrick at apple.com>
wrote:
> IR Canonicalization Pipeline:
>
> Function Passes {
>  SimplifyCFG
>  SROA-1
>  EarlyCSE
> }
> Call-Graph SCC Passes {
>  Inline
>  Function Passes {
>    EarlyCSE
>    SimplifyCFG
>    InstCombine
>    Early Loop Opts {
>      LoopSimplify
>      Rotate (when obvious)
>      Full-Unroll (when obvious)
>    }
>    SROA-2
>    InstCombine
>    GVN
...

I should explain: SROA-1 and SROA-2 are not necessarily different versions of
SROA (though they could be in the future), I just wanted to be clear that it is
run twice.

-Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20130717/c86a3164/attachment.html>