mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 02:03:11 +00:00
LibCallAliasAnalysis doesn't use TargetData.
llvm-svn: 77729
This commit is contained in:
parent
3c72ed6449
commit
40e39492e8
@ -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