mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
SelectionDAGISel does not "preserve all", since it makes lots of changes
to the MachineFunction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77753 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d147c4401
commit
a3477fe06d
@ -289,9 +289,11 @@ unsigned SelectionDAGISel::MakeReg(MVT VT) {
|
|||||||
|
|
||||||
void SelectionDAGISel::getAnalysisUsage(AnalysisUsage &AU) const {
|
void SelectionDAGISel::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||||
AU.addRequired<AliasAnalysis>();
|
AU.addRequired<AliasAnalysis>();
|
||||||
|
AU.addPreserved<AliasAnalysis>();
|
||||||
AU.addRequired<GCModuleInfo>();
|
AU.addRequired<GCModuleInfo>();
|
||||||
|
AU.addPreserved<GCModuleInfo>();
|
||||||
AU.addRequired<DwarfWriter>();
|
AU.addRequired<DwarfWriter>();
|
||||||
AU.setPreservesAll();
|
AU.addPreserved<DwarfWriter>();
|
||||||
MachineFunctionPass::getAnalysisUsage(AU);
|
MachineFunctionPass::getAnalysisUsage(AU);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user