summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJan Sjodin <jan_sjodin@yahoo.com>2017-09-14 20:53:51 +0000
committerJan Sjodin <jan_sjodin@yahoo.com>2017-09-14 20:53:51 +0000
commit312ccf761c034483f6bdcd659c44f56bc9818d96 (patch)
treeed9b9d8ec4c3adfa76dbed215779cc942c84dd5d /llvm/lib/CodeGen/MachineFunction.cpp
parentf65177a41f6688a79c88aaddefcdc484258c2142 (diff)
downloadbcm5719-llvm-312ccf761c034483f6bdcd659c44f56bc9818d96.tar.gz
bcm5719-llvm-312ccf761c034483f6bdcd659c44f56bc9818d96.zip
Add AddresSpace to PseudoSourceValue.
Differential Revision: https://reviews.llvm.org/D35089 llvm-svn: 313297
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index ae7efe2fde6..efd4bd00a45 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -147,7 +147,9 @@ void MachineFunction::init() {
"Can't create a MachineFunction using a Module with a "
"Target-incompatible DataLayout attached\n");
- PSVManager = llvm::make_unique<PseudoSourceValueManager>();
+ PSVManager =
+ llvm::make_unique<PseudoSourceValueManager>(*(getSubtarget().
+ getInstrInfo()));
}
MachineFunction::~MachineFunction() {
OpenPOWER on IntegriCloud