mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-12-19 11:23:32 +00:00
Fold the ShrinkDemandedOps pass into the regular DAGCombiner pass,
which is faster, simpler, and less surprising. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -292,7 +292,6 @@ private:
|
||||
MachineBasicBlock *CodeGenAndEmitDAG(MachineBasicBlock *BB);
|
||||
void LowerArguments(const BasicBlock *BB);
|
||||
|
||||
void ShrinkDemandedOps();
|
||||
void ComputeLiveOutVRegInfo();
|
||||
|
||||
/// Create the scheduler. If a specific scheduler was specified
|
||||
|
||||
@@ -766,14 +766,12 @@ public:
|
||||
SelectionDAG &DAG;
|
||||
bool LegalTys;
|
||||
bool LegalOps;
|
||||
bool ShrinkOps;
|
||||
SDValue Old;
|
||||
SDValue New;
|
||||
|
||||
explicit TargetLoweringOpt(SelectionDAG &InDAG,
|
||||
bool LT, bool LO,
|
||||
bool Shrink = false) :
|
||||
DAG(InDAG), LegalTys(LT), LegalOps(LO), ShrinkOps(Shrink) {}
|
||||
bool LT, bool LO) :
|
||||
DAG(InDAG), LegalTys(LT), LegalOps(LO) {}
|
||||
|
||||
bool LegalTypes() const { return LegalTys; }
|
||||
bool LegalOperations() const { return LegalOps; }
|
||||
|
||||
Reference in New Issue
Block a user