From: Chandler Carruth Date: Thu, 15 Mar 2012 00:29:10 +0000 (+0000) Subject: This pass didn't want the inline cost per-se, it just wants generic code X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ae029098a5861e451b77969627f11a4ef3342a76;p=oota-llvm.git 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 --- diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp index 780683eb803..053eb0c4f71 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"