mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +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:
parent
c1a3520580
commit
c20a64d2bb
@ -22,7 +22,6 @@ namespace llvm {
|
||||
class AllocaInst;
|
||||
class ETForest;
|
||||
class DominanceFrontier;
|
||||
class TargetData;
|
||||
class AliasSetTracker;
|
||||
|
||||
/// 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,
|
||||
ETForest &ET, DominanceFrontier &DF,
|
||||
const TargetData &TD, AliasSetTracker *AST = 0);
|
||||
AliasSetTracker *AST = 0);
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user