projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
063287a
)
Adjust to changes in SelectionDAG interface.
author
Chris Lattner
<sabre@nondot.org>
Sun, 23 Jan 2005 04:36:26 +0000
(
04:36
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 23 Jan 2005 04:36:26 +0000
(
04:36
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19779
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 20d731332b8edfe40a9e9c8890dea4923ed17d38..e5266c294f86ea0d1ceeb01811cc26a1a09e16c9 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-1018,7
+1018,7
@@
void SelectionDAGISel::BuildSelectionDAG(SelectionDAG &DAG, BasicBlock *LLVMBB,
void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB, MachineFunction &MF,
FunctionLoweringInfo &FuncInfo) {
- SelectionDAG DAG(TLI
.getTargetMachine()
, MF);
+ SelectionDAG DAG(TLI, MF);
CurDAG = &DAG;
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
// the target supports.
- DAG.Legalize(
TLI
);
+ DAG.Legalize();
DEBUG(std::cerr << "Legalized selection DAG:\n");
DEBUG(DAG.dump());