Sink InlineCost.cpp into IPA -- it is now officially an interprocedural
authorChandler Carruth <chandlerc@gmail.com>
Mon, 21 Jan 2013 12:09:41 +0000 (12:09 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 21 Jan 2013 12:09:41 +0000 (12:09 +0000)
analysis. How cute that it wasn't previously. ;]

Part of this confusion stems from the flattened header file tree. Thanks
to Benjamin for pointing out the goof on IRC, and we're considering
un-flattening the headers, so speak now if that would bug you.

llvm-svn: 173033

llvm/lib/Analysis/CMakeLists.txt
llvm/lib/Analysis/IPA/CMakeLists.txt
llvm/lib/Analysis/IPA/InlineCost.cpp [moved from llvm/lib/Analysis/InlineCost.cpp with 100% similarity]

index 78abe0f..4c64c4a 100644 (file)
@@ -18,7 +18,6 @@ add_llvm_library(LLVMAnalysis
   DomPrinter.cpp
   DominanceFrontier.cpp
   IVUsers.cpp
-  InlineCost.cpp
   InstCount.cpp
   InstructionSimplify.cpp
   Interval.cpp
index 318119b..67b4135 100644 (file)
@@ -5,6 +5,7 @@ add_llvm_library(LLVMipa
   FindUsedTypes.cpp
   GlobalsModRef.cpp
   IPA.cpp
+  InlineCost.cpp
   )
 
 add_dependencies(LLVMipa intrinsics_gen)