diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 11:17:44 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 11:17:44 +0000 |
commit | 4220e9c154a6426d247b658f76d498c66195f92e (patch) | |
tree | 914b9e7a3e1dbc3a7e71fa37ce8a6d9a6ba5294e /llvm/lib/Transforms/IPO/GlobalOpt.cpp | |
parent | e69df1f9285f378e6add2d874c854b951551d2cd (diff) | |
download | bcm5719-llvm-4220e9c154a6426d247b658f76d498c66195f92e.tar.gz bcm5719-llvm-4220e9c154a6426d247b658f76d498c66195f92e.zip |
[Modules] Move ValueHandle into the IR library where Value itself lives.
Move the test for this class into the IR unittests as well.
This uncovers that ValueMap too is in the IR library. Ironically, the
unittest for ValueMap is useless in the Support library (honestly, so
was the ValueHandle test) and so it already lives in the IR unittests.
Mmmm, tasty layering.
llvm-svn: 202821
Diffstat (limited to 'llvm/lib/Transforms/IPO/GlobalOpt.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp index 0a2338422d7..71c5e05b3d1 100644 --- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp +++ b/llvm/lib/Transforms/IPO/GlobalOpt.cpp @@ -32,11 +32,11 @@ #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/Module.h" #include "llvm/IR/Operator.h" +#include "llvm/IR/ValueHandle.h" #include "llvm/Pass.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" -#include "llvm/Support/ValueHandle.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Target/TargetLibraryInfo.h" #include "llvm/Transforms/Utils/GlobalStatus.h" |