[llvm-commits] [llvm] r131824 - /llvm/trunk/tools/opt/opt.cpp
Cameron Zwarich
zwarich at apple.com
Sat May 21 23:28:45 PDT 2011
On May 21, 2011, at 11:27 PM, Chris Lattner wrote:
> On May 21, 2011, at 11:02 PM, Cameron Zwarich wrote:
>
>> This changed the opt pass order by removing the global passes that run first:
>>
>> Pass Arguments: -targetdata -no-aa -tbaa -basicaa -simplifycfg -domtree -scalarrepl -early-cse
>> Target Data Layout
>> No Alias Analysis (always returns 'may' alias)
>> Type-Based Alias Analysis
>> Basic Alias Analysis (stateless AA impl)
>> ModulePass Manager
>> FunctionPass Manager
>> Simplify the CFG
>> Dominator Tree Construction
>> Scalar Replacement of Aggregates (DT)
>> Early CSE
>>
>> In the future, it would be a good idea to compare -debug-pass=Structure output when making changes that are supposed to preserve existing behavior. It would also be good to check that clang still includes these passes.
>
> Hi Cameron,
>
> What behavior are you saying that I'm changing here? "opt" has a bunch of different codepaths.
opt -std-compile-opts -debug-pass=Structure <file>
Cameron
More information about the llvm-commits
mailing list