From 93647f18afb1ccf1a9b609b5db827b5f422b4d78 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sat, 24 Jan 2015 10:18:47 +0000 Subject: [PATCH] [PM] Move the LowerExpectIntrinsic pass to the Scalar library. 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 | 1 + lib/Transforms/{Utils => Scalar}/LowerExpectIntrinsic.cpp | 0 lib/Transforms/Utils/CMakeLists.txt | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) rename lib/Transforms/{Utils => Scalar}/LowerExpectIntrinsic.cpp (100%) diff --git a/lib/Transforms/Scalar/CMakeLists.txt b/lib/Transforms/Scalar/CMakeLists.txt index 3511bb16d4e..1279e83d865 100644 --- a/lib/Transforms/Scalar/CMakeLists.txt +++ b/lib/Transforms/Scalar/CMakeLists.txt @@ -23,6 +23,7 @@ add_llvm_library(LLVMScalarOpts LoopUnrollPass.cpp LoopUnswitch.cpp LowerAtomic.cpp + LowerExpectIntrinsic.cpp MemCpyOptimizer.cpp MergedLoadStoreMotion.cpp PartiallyInlineLibCalls.cpp diff --git a/lib/Transforms/Utils/LowerExpectIntrinsic.cpp b/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp similarity index 100% rename from lib/Transforms/Utils/LowerExpectIntrinsic.cpp rename to lib/Transforms/Scalar/LowerExpectIntrinsic.cpp diff --git a/lib/Transforms/Utils/CMakeLists.txt b/lib/Transforms/Utils/CMakeLists.txt index 6ce22b10182..a30eee35fbd 100644 --- a/lib/Transforms/Utils/CMakeLists.txt +++ b/lib/Transforms/Utils/CMakeLists.txt @@ -21,7 +21,6 @@ add_llvm_library(LLVMTransformUtils LoopSimplify.cpp LoopUnroll.cpp LoopUnrollRuntime.cpp - LowerExpectIntrinsic.cpp LowerInvoke.cpp LowerSwitch.cpp Mem2Reg.cpp