diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-04 06:23:24 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-04 06:23:24 +0000 |
| commit | fe6c6d12aadff3137c0571046e616e307bc7f9b8 (patch) | |
| tree | dbd5e143bdb9ca9837b9e7e7f2132283648e75f8 | |
| parent | 4fcef8a8554259481cc451079eec65059fe68a2e (diff) | |
| download | external_llvm-fe6c6d12aadff3137c0571046e616e307bc7f9b8.zip external_llvm-fe6c6d12aadff3137c0571046e616e307bc7f9b8.tar.gz external_llvm-fe6c6d12aadff3137c0571046e616e307bc7f9b8.tar.bz2 | |
move instcombine to its own library, it's past time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92459 91177308-0d34-0410-b5e6-96231b3b80d8
| -rw-r--r-- | lib/Transforms/InstCombine/InstructionCombining.cpp (renamed from lib/Transforms/Scalar/InstructionCombining.cpp) | 2 | ||||
| -rw-r--r-- | lib/Transforms/Makefile | 2 | ||||
| -rw-r--r-- | lib/Transforms/Scalar/CMakeLists.txt | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/InstCombine/InstructionCombining.cpp index 03885a5..c0fce65 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/InstCombine/InstructionCombining.cpp @@ -9132,7 +9132,7 @@ Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, } Instruction *InstCombiner::visitZExt(ZExtInst &CI) { - // If one of the common conversion will work .. + // If one of the common conversion will work, do it. if (Instruction *Result = commonIntCastTransforms(CI)) return Result; diff --git a/lib/Transforms/Makefile b/lib/Transforms/Makefile index 025d02a..ea4a115 100644 --- a/lib/Transforms/Makefile +++ b/lib/Transforms/Makefile @@ -8,7 +8,7 @@ ##===----------------------------------------------------------------------===## LEVEL = ../.. -PARALLEL_DIRS = Utils Instrumentation Scalar IPO Hello +PARALLEL_DIRS = Utils Instrumentation Scalar InstCombine IPO Hello include $(LEVEL)/Makefile.config diff --git a/lib/Transforms/Scalar/CMakeLists.txt b/lib/Transforms/Scalar/CMakeLists.txt index 5a92399..683c1c2 100644 --- a/lib/Transforms/Scalar/CMakeLists.txt +++ b/lib/Transforms/Scalar/CMakeLists.txt @@ -9,7 +9,6 @@ add_llvm_library(LLVMScalarOpts GEPSplitter.cpp GVN.cpp IndVarSimplify.cpp - InstructionCombining.cpp JumpThreading.cpp LICM.cpp LoopDeletion.cpp |
