mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Fix a problem exposed by the et-forest work. Load-vn needs these passes live
whenever it is live, not just when load-vn is computed initially git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25146 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4e6b17a41b
commit
10673b63b0
@ -95,10 +95,10 @@ FunctionPass *llvm::createLoadValueNumberingPass() { return new LoadVN(); }
|
||||
///
|
||||
void LoadVN::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.setPreservesAll();
|
||||
AU.addRequired<AliasAnalysis>();
|
||||
AU.addRequiredTransitive<AliasAnalysis>();
|
||||
AU.addRequired<ValueNumbering>();
|
||||
AU.addRequired<DominatorSet>();
|
||||
AU.addRequired<TargetData>();
|
||||
AU.addRequiredTransitive<DominatorSet>();
|
||||
AU.addRequiredTransitive<TargetData>();
|
||||
}
|
||||
|
||||
static bool isPathTransparentTo(BasicBlock *CurBlock, BasicBlock *Dom,
|
||||
|
Loading…
x
Reference in New Issue
Block a user