Displaying 3 results from an estimated 3 matches for "something_that_invalidates_aa".
2007 Aug 10
0
[LLVMdev] Choosing Alias Analysis
...t; -regalloc=linearscan if register allocation were recoded to use AnalysisGroup.
Interesting question, I don't have an answer to this. To make things more
complicated, you can have multiple instances of an analysis group and may
want different things at different times:
-basicaa -licm -something_that_invalidates_aa -andersaa -licm -whatever
In the short term, adding a cl::opt to llvm-backend.cpp seems the easiest
way to go, which makes it available through -mllvm.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
2007 Aug 09
3
[LLVMdev] Choosing Alias Analysis
On Thursday 09 August 2007 17:27, Chris Lattner wrote:
> > So what's the right way to do this? There's the regalloc way, which
> > invents a whole new class just to register register allocators and
> > provide an option for picking one. But alias analysis already uses
> > AnalysisGroup so a new class to register alias analysis passes isn't
> >
2007 Aug 10
3
[LLVMdev] Choosing Alias Analysis
On Thursday 09 August 2007 19:21, Chris Lattner wrote:
> Interesting question, I don't have an answer to this. To make things more
> complicated, you can have multiple instances of an analysis group and may
> want different things at different times:
>
> -basicaa -licm -something_that_invalidates_aa -andersaa -licm -whatever
Some questions about that:
How does this interact with analysis groups? When a class is registered as
part of an analysis group there's a boolean template argument indicating
whether it is the default pass for the group. If I say -andersaa on the
command line (s...