summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-08-03 21:54:00 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-08-03 21:54:00 +0000
commita52391f2dbff6f93bc29158d9d085ad15cc796ec (patch)
treeca589cd808674b06e1d5624d388ac31ed1fb5f55 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent250e050a50e4596ead4dfaf51975f37680d129ac (diff)
downloadbcm5719-llvm-a52391f2dbff6f93bc29158d9d085ad15cc796ec.tar.gz
bcm5719-llvm-a52391f2dbff6f93bc29158d9d085ad15cc796ec.zip
DAG: Provide access to Pass instance from SelectionDAG
This allows accessing an analysis pass during lowering. llvm-svn: 309991
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index ed9cb09dccb..ceab4d73976 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -414,7 +414,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
SplitCriticalSideEffectEdges(const_cast<Function &>(Fn), DT, LI);
- CurDAG->init(*MF, *ORE);
+ CurDAG->init(*MF, *ORE, this);
FuncInfo->set(Fn, *MF, CurDAG);
// Now get the optional analyzes if we want to.
OpenPOWER on IntegriCloud