[llvm-commits] [llvm] r152760 - /llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
Chandler Carruth
chandlerc at gmail.com
Wed Mar 14 17:29:11 PDT 2012
Author: chandlerc
Date: Wed Mar 14 19:29:10 2012
New Revision: 152760
URL: http://llvm.org/viewvc/llvm-project?rev=152760&view=rev
Log:
This pass didn't want the inline cost per-se, it just wants generic code
metrics.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp?rev=152760&r1=152759&r2=152760&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp Wed Mar 14 19:29:10 2012
@@ -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"
More information about the llvm-commits
mailing list