projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98976e4
)
Fix a missing initialization of PostRAScheduler's AA member.
author
Dan Gohman
<gohman@apple.com>
Sat, 10 Oct 2009 00:15:38 +0000
(
00:15
+0000)
committer
Dan Gohman
<gohman@apple.com>
Sat, 10 Oct 2009 00:15:38 +0000
(
00:15
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83695
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PostRASchedulerList.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PostRASchedulerList.cpp
b/lib/CodeGen/PostRASchedulerList.cpp
index ad8ba6c01379b1a90468a801bd19dfbe22428b1f..66bcf8cec82e6e0f53973c0a70d9797847850668 100644
(file)
--- a/
lib/CodeGen/PostRASchedulerList.cpp
+++ b/
lib/CodeGen/PostRASchedulerList.cpp
@@
-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)