[llvm] r241536 - [StackMap Liveness] Calling the base class' getAnalysisUsage method. NFCI.
Juergen Ributzka
juergen at apple.com
Mon Jul 6 19:05:18 PDT 2015
Author: ributzka
Date: Mon Jul 6 21:05:18 2015
New Revision: 241536
URL: http://llvm.org/viewvc/llvm-project?rev=241536&view=rev
Log:
[StackMap Liveness] Calling the base class' getAnalysisUsage method. NFCI.
Calling into the base class' getAnalysisUsage method after we did our pass
specific modifications. This shouldn't really matter since this is the last
pass in the pipeline anyways.
Modified:
llvm/trunk/lib/CodeGen/StackMapLivenessAnalysis.cpp
Modified: llvm/trunk/lib/CodeGen/StackMapLivenessAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StackMapLivenessAnalysis.cpp?rev=241536&r1=241535&r2=241536&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/StackMapLivenessAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/StackMapLivenessAnalysis.cpp Mon Jul 6 21:05:18 2015
@@ -94,8 +94,7 @@ void StackMapLiveness::getAnalysisUsage(
// We preserve all information.
AU.setPreservesAll();
AU.setPreservesCFG();
- // Default dependencie for all MachineFunction passes.
- AU.addRequired<MachineFunctionAnalysis>();
+ MachineFunctionPass::getAnalysisUsage(AU);
}
/// Calculate the liveness information for the given machine function.
More information about the llvm-commits
mailing list