[llvm-commits] [llvm] r77729 - /llvm/trunk/lib/Analysis/LibCallAliasAnalysis.cpp
Dan Gohman
gohman at apple.com
Fri Jul 31 13:56:29 PDT 2009
Author: djg
Date: Fri Jul 31 15:56:29 2009
New Revision: 77729
URL: http://llvm.org/viewvc/llvm-project?rev=77729&view=rev
Log:
LibCallAliasAnalysis doesn't use TargetData.
Modified:
llvm/trunk/lib/Analysis/LibCallAliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/LibCallAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LibCallAliasAnalysis.cpp?rev=77729&r1=77728&r2=77729&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LibCallAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/LibCallAliasAnalysis.cpp Fri Jul 31 15:56:29 2009
@@ -16,7 +16,6 @@
#include "llvm/Analysis/LibCallSemantics.h"
#include "llvm/Function.h"
#include "llvm/Pass.h"
-#include "llvm/Target/TargetData.h"
using namespace llvm;
// Register this pass...
@@ -37,7 +36,6 @@
void LibCallAliasAnalysis::getAnalysisUsage(AnalysisUsage &AU) const {
AliasAnalysis::getAnalysisUsage(AU);
- AU.addRequired<TargetData>();
AU.setPreservesAll(); // Does not transform code
}
More information about the llvm-commits
mailing list