]> granicus.if.org Git - llvm/commitdiff
[PM] Move the LowerExpectIntrinsic pass to the Scalar library.
authorChandler Carruth <chandlerc@gmail.com>
Sat, 24 Jan 2015 10:18:47 +0000 (10:18 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 24 Jan 2015 10:18:47 +0000 (10:18 +0000)
It was already in the Scalar header and referenced extensively as being
in this library, the source file was just in the utils directory for
some reason. No actual functionality changed. I noticed as it didn't
make sense to add a pass header to the utils headers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226991 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/CMakeLists.txt
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp [moved from lib/Transforms/Utils/LowerExpectIntrinsic.cpp with 100% similarity]
lib/Transforms/Utils/CMakeLists.txt

index 3511bb16d4e1283a2eefc89264960b574b6e42e2..1279e83d865dd32d07d964d0d22e217e776e09dc 100644 (file)
@@ -23,6 +23,7 @@ add_llvm_library(LLVMScalarOpts
   LoopUnrollPass.cpp
   LoopUnswitch.cpp
   LowerAtomic.cpp
+  LowerExpectIntrinsic.cpp
   MemCpyOptimizer.cpp
   MergedLoadStoreMotion.cpp
   PartiallyInlineLibCalls.cpp
index 6ce22b101825cc1a4d9567e6943e5c45d55644c9..a30eee35fbdb986c2ed8d25772dd1ee9067f4268 100644 (file)
@@ -21,7 +21,6 @@ add_llvm_library(LLVMTransformUtils
   LoopSimplify.cpp
   LoopUnroll.cpp
   LoopUnrollRuntime.cpp
-  LowerExpectIntrinsic.cpp
   LowerInvoke.cpp
   LowerSwitch.cpp
   Mem2Reg.cpp