mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-02 17:09:05 +00:00
Fix a missing initialization of PostRAScheduler's AA member.
llvm-svn: 83695
This commit is contained in:
parent
5141b26ffa
commit
b98d95f4f9
@ -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
Block a user