aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/MI
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-11-13 18:19:54 -0800
committerHeejin Ahn <aheejin@gmail.com>2019-11-13 19:42:58 -0800
commit3306fe10fabbd4d136457f1fc62ded26cd260719 (patch)
tree9a12082181063de8c9047aaa42cd2eadd085ec2f /llvm/unittests/MI
parentfa6984a3de81b74bf03325bea71416d8bf483efb (diff)
downloadllvm-3306fe10fabbd4d136457f1fc62ded26cd260719.zip
llvm-3306fe10fabbd4d136457f1fc62ded26cd260719.tar.gz
llvm-3306fe10fabbd4d136457f1fc62ded26cd260719.tar.bz2
[unittests] Add InitializePasses.h includes
Summary: After D70211, Pass.h does not include InitializePasses.h anymore, so these files need to include InitializePasses.h directly. Reviewers: rnk Subscribers: MatzeB, mehdi_amini, zzheng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70217
Diffstat (limited to 'llvm/unittests/MI')
-rw-r--r--llvm/unittests/MI/LiveIntervalTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/MI/LiveIntervalTest.cpp b/llvm/unittests/MI/LiveIntervalTest.cpp
index 782df23..835d3f9 100644
--- a/llvm/unittests/MI/LiveIntervalTest.cpp
+++ b/llvm/unittests/MI/LiveIntervalTest.cpp
@@ -5,6 +5,7 @@
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/IR/LegacyPassManager.h"
+#include "llvm/InitializePasses.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/TargetRegistry.h"