diff options
author | Duncan Sands <baldrick@free.fr> | 2009-01-28 13:14:17 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-01-28 13:14:17 +0000 |
commit | 4e0d6a7d48464188a1a25b544a6355326d3fd3bf (patch) | |
tree | 5a066582fade4aa68d9608de87fb15a0400fe12a /lib/CodeGen/PHIElimination.cpp | |
parent | d802e30e9a3f885ac5a7179ba8cc03b603b96dc2 (diff) | |
download | external_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.cpp | 2 |
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); |