mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Adjust to changes in SelectionDAG interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19779 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
063287a76b
commit
ac9dc08c7f
@ -1018,7 +1018,7 @@ void SelectionDAGISel::BuildSelectionDAG(SelectionDAG &DAG, BasicBlock *LLVMBB,
|
|||||||
|
|
||||||
void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB, MachineFunction &MF,
|
void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB, MachineFunction &MF,
|
||||||
FunctionLoweringInfo &FuncInfo) {
|
FunctionLoweringInfo &FuncInfo) {
|
||||||
SelectionDAG DAG(TLI.getTargetMachine(), MF);
|
SelectionDAG DAG(TLI, MF);
|
||||||
CurDAG = &DAG;
|
CurDAG = &DAG;
|
||||||
std::vector<std::pair<MachineInstr*, unsigned> > PHINodesToUpdate;
|
std::vector<std::pair<MachineInstr*, unsigned> > PHINodesToUpdate;
|
||||||
|
|
||||||
@ -1031,7 +1031,7 @@ void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB, MachineFunction &MF,
|
|||||||
|
|
||||||
// Second step, hack on the DAG until it only uses operations and types that
|
// Second step, hack on the DAG until it only uses operations and types that
|
||||||
// the target supports.
|
// the target supports.
|
||||||
DAG.Legalize(TLI);
|
DAG.Legalize();
|
||||||
|
|
||||||
DEBUG(std::cerr << "Legalized selection DAG:\n");
|
DEBUG(std::cerr << "Legalized selection DAG:\n");
|
||||||
DEBUG(DAG.dump());
|
DEBUG(DAG.dump());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user