mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-09 22:24:37 +00:00
Mem2Reg does not need TargetData.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36446 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -22,7 +22,6 @@ namespace llvm {
|
|||||||
class AllocaInst;
|
class AllocaInst;
|
||||||
class ETForest;
|
class ETForest;
|
||||||
class DominanceFrontier;
|
class DominanceFrontier;
|
||||||
class TargetData;
|
|
||||||
class AliasSetTracker;
|
class AliasSetTracker;
|
||||||
|
|
||||||
/// isAllocaPromotable - Return true if this alloca is legal for promotion.
|
/// isAllocaPromotable - Return true if this alloca is legal for promotion.
|
||||||
@ -40,7 +39,7 @@ bool isAllocaPromotable(const AllocaInst *AI);
|
|||||||
///
|
///
|
||||||
void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
|
void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
|
||||||
ETForest &ET, DominanceFrontier &DF,
|
ETForest &ET, DominanceFrontier &DF,
|
||||||
const TargetData &TD, AliasSetTracker *AST = 0);
|
AliasSetTracker *AST = 0);
|
||||||
|
|
||||||
} // End llvm namespace
|
} // End llvm namespace
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user