From e8c035df6f3b2e5dbcc741657c7f405e183fce75 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 31 Jul 2009 20:56:29 +0000 Subject: [PATCH] LibCallAliasAnalysis doesn't use TargetData. llvm-svn: 77729 --- llvm/lib/Analysis/LibCallAliasAnalysis.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/Analysis/LibCallAliasAnalysis.cpp b/llvm/lib/Analysis/LibCallAliasAnalysis.cpp index 971e6e7..7419659 100644 --- a/llvm/lib/Analysis/LibCallAliasAnalysis.cpp +++ b/llvm/lib/Analysis/LibCallAliasAnalysis.cpp @@ -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 @@ LibCallAliasAnalysis::~LibCallAliasAnalysis() { void LibCallAliasAnalysis::getAnalysisUsage(AnalysisUsage &AU) const { AliasAnalysis::getAnalysisUsage(AU); - AU.addRequired(); AU.setPreservesAll(); // Does not transform code } -- 2.7.4