aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-03-15 00:29:10 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-03-15 00:29:10 +0000
commitae029098a5861e451b77969627f11a4ef3342a76 (patch)
tree1406e9235bfea7ff0e00f132072ab069192294f3
parent220d2d7b50ddbbab1fe5e57fe9f39e72ef430a89 (diff)
downloadexternal_llvm-ae029098a5861e451b77969627f11a4ef3342a76.zip
external_llvm-ae029098a5861e451b77969627f11a4ef3342a76.tar.gz
external_llvm-ae029098a5861e451b77969627f11a4ef3342a76.tar.bz2
This pass didn't want the inline cost per-se, it just wants generic code
metrics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152760 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/LoopUnswitch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp
index 780683e..053eb0c 100644
--- a/lib/Transforms/Scalar/LoopUnswitch.cpp
+++ b/lib/Transforms/Scalar/LoopUnswitch.cpp
@@ -32,7 +32,7 @@
#include "llvm/DerivedTypes.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
-#include "llvm/Analysis/InlineCost.h"
+#include "llvm/Analysis/CodeMetrics.h"
#include "llvm/Analysis/InstructionSimplify.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/LoopPass.h"