summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-24 18:50:07 +0000
committerDan Gohman <gohman@apple.com>2010-08-24 18:50:07 +0000
commita209503467ffbb46068646a46780738041da49a1 (patch)
treec2e6221d6f8dbc8a0afcbbbfc41eb572d4126583 /llvm/lib/Transforms/Utils/CloneFunction.cpp
parent76b35379f5f74d69ec221e84ff1dfcdc84cb3d12 (diff)
downloadbcm5719-llvm-a209503467ffbb46068646a46780738041da49a1.tar.gz
bcm5719-llvm-a209503467ffbb46068646a46780738041da49a1.zip
Use MapValue in the Linker instead of having a private function
which does the same thing. This eliminates redundant code and handles MDNodes better. MDNode linking still doesn't fully work yet though. llvm-svn: 111941
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/CloneFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp
index 767fc2a8403..c5c62bfd241 100644
--- a/llvm/lib/Transforms/Utils/CloneFunction.cpp
+++ b/llvm/lib/Transforms/Utils/CloneFunction.cpp
@@ -23,7 +23,7 @@
#include "llvm/LLVMContext.h"
#include "llvm/Metadata.h"
#include "llvm/Support/CFG.h"
-#include "ValueMapper.h"
+#include "llvm/Transforms/Utils/ValueMapper.h"
#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Analysis/DebugInfo.h"
#include "llvm/ADT/SmallVector.h"
OpenPOWER on IntegriCloud