forked from OSchip/llvm-project
Fix a missing initialization of PostRAScheduler's AA member.
llvm-svn: 83695
This commit is contained in:
parent
c4859baea4
commit
26e9b89b7c
|
@ -229,6 +229,8 @@ static bool isSchedulingBoundary(const MachineInstr *MI,
|
|||
}
|
||||
|
||||
bool PostRAScheduler::runOnMachineFunction(MachineFunction &Fn) {
|
||||
AA = &getAnalysis<AliasAnalysis>();
|
||||
|
||||
// Check for explicit enable/disable of post-ra scheduling.
|
||||
if (EnablePostRAScheduler.getPosition() > 0) {
|
||||
if (!EnablePostRAScheduler)
|
||||
|
|
Loading…
Reference in New Issue