aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-01-28 13:14:17 +0000
committerDuncan Sands <baldrick@free.fr>2009-01-28 13:14:17 +0000
commit4e0d6a7d48464188a1a25b544a6355326d3fd3bf (patch)
tree5a066582fade4aa68d9608de87fb15a0400fe12a /lib/CodeGen/PHIElimination.cpp
parentd802e30e9a3f885ac5a7179ba8cc03b603b96dc2 (diff)
downloadexternal_llvm-4e0d6a7d48464188a1a25b544a6355326d3fd3bf.zip
external_llvm-4e0d6a7d48464188a1a25b544a6355326d3fd3bf.tar.gz
external_llvm-4e0d6a7d48464188a1a25b544a6355326d3fd3bf.tar.bz2
Rename getAnalysisToUpdate to getAnalysisIfAvailable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63198 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
-rw-r--r--lib/CodeGen/PHIElimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp
index bd389db..147ccab 100644
--- a/lib/CodeGen/PHIElimination.cpp
+++ b/lib/CodeGen/PHIElimination.cpp
@@ -174,7 +174,7 @@ void PNE::LowerAtomicPHINode(MachineBasicBlock &MBB,
}
// Update live variable information if there is any.
- LiveVariables *LV = getAnalysisToUpdate<LiveVariables>();
+ LiveVariables *LV = getAnalysisIfAvailable<LiveVariables>();
if (LV) {
MachineInstr *PHICopy = prior(AfterPHIsIt);