diff options
author | Juergen Ributzka <juergen@apple.com> | 2014-01-24 20:18:00 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2014-01-24 20:18:00 +0000 |
commit | 96172cb4a44d890263c9054df35739a60569d4a5 (patch) | |
tree | 70ad93330d578a0eb2ea4be59c6d552ddcffd7da /lib/Transforms/Scalar/CMakeLists.txt | |
parent | 86720f7c65c4481c8d8518d71e2bdce59a85969e (diff) | |
download | llvm-96172cb4a44d890263c9054df35739a60569d4a5.tar.gz llvm-96172cb4a44d890263c9054df35739a60569d4a5.tar.bz2 llvm-96172cb4a44d890263c9054df35739a60569d4a5.tar.xz |
Add Constant Hoisting Pass
Retry commit r200022 with a fix for the build bot errors. Constant expressions
have (unlike instructions) module scope use lists and therefore may have users
in different functions. The fix is to simply ignore these out-of-function uses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200034 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/CMakeLists.txt')
-rw-r--r-- | lib/Transforms/Scalar/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/CMakeLists.txt b/lib/Transforms/Scalar/CMakeLists.txt index 0b2928677c..8a29b0c48c 100644 --- a/lib/Transforms/Scalar/CMakeLists.txt +++ b/lib/Transforms/Scalar/CMakeLists.txt @@ -1,6 +1,7 @@ add_llvm_library(LLVMScalarOpts ADCE.cpp CodeGenPrepare.cpp + ConstantHoisting.cpp ConstantProp.cpp CorrelatedValuePropagation.cpp DCE.cpp |