aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Transforms/Utils/CloningTest.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2019-02-06 02:52:52 +0000
committerRichard Trieu <rtrieu@google.com>2019-02-06 02:52:52 +0000
commit5f436fc57a2d1fc4fa6fadf09c72077d4b377396 (patch)
tree104ff5790d745620c1d686cf543869fbfe5104c7 /llvm/unittests/Transforms/Utils/CloningTest.cpp
parent1f3f774f104998f715783967ee852f4682f87fa8 (diff)
downloadllvm-5f436fc57a2d1fc4fa6fadf09c72077d4b377396.zip
llvm-5f436fc57a2d1fc4fa6fadf09c72077d4b377396.tar.gz
llvm-5f436fc57a2d1fc4fa6fadf09c72077d4b377396.tar.bz2
Move DomTreeUpdater from IR to Analysis
DomTreeUpdater depends on headers from Analysis, but is in IR. This is a layering violation since Analysis depends on IR. Relocate this code from IR to Analysis to fix the layering violation. llvm-svn: 353265
Diffstat (limited to 'llvm/unittests/Transforms/Utils/CloningTest.cpp')
-rw-r--r--llvm/unittests/Transforms/Utils/CloningTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Transforms/Utils/CloningTest.cpp b/llvm/unittests/Transforms/Utils/CloningTest.cpp
index 5828f1c..abc18bc 100644
--- a/llvm/unittests/Transforms/Utils/CloningTest.cpp
+++ b/llvm/unittests/Transforms/Utils/CloningTest.cpp
@@ -9,11 +9,11 @@
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallPtrSet.h"
+#include "llvm/Analysis/DomTreeUpdater.h"
#include "llvm/IR/Argument.h"
#include "llvm/IR/Constant.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/DebugInfo.h"
-#include "llvm/IR/DomTreeUpdater.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstIterator.h"