mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-21 21:41:43 +00:00
LibCallAliasAnalysis doesn't use TargetData.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77729 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
022e2a84a8
commit
b41fc9f05c
@ -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<TargetData>();
|
||||
AU.setPreservesAll(); // Does not transform code
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user