summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2016-12-20 08:48:51 +0000
committerSerge Pavlov <sepavloff@gmail.com>2016-12-20 08:48:51 +0000
commitfe8cb93148957b927a64a8a7047e5f9944a33ab7 (patch)
tree2a701b78063be56c76bd8813cafe01b351c7245d /llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
parentd7738fe6ad9739e750127080a22294df39307429 (diff)
downloadbcm5719-llvm-fe8cb93148957b927a64a8a7047e5f9944a33ab7.tar.gz
bcm5719-llvm-fe8cb93148957b927a64a8a7047e5f9944a33ab7.zip
Fix build with expensive checks enabled
Include of llvm/IR/Verifier.h was removed from HexagonCommonGEP.cpp in r289604 as unused. In fact it is required when expensive checks are enabled, because it declared function `verifyFunction`, which is called in conditionally compiled part of the file. llvm-svn: 290170
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp b/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
index 3c9b1ec5953..489da6be923 100644
--- a/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
@@ -27,6 +27,7 @@
#include "llvm/IR/Use.h"
#include "llvm/IR/User.h"
#include "llvm/IR/Value.h"
+#include "llvm/IR/Verifier.h"
#include "llvm/Pass.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Casting.h"
OpenPOWER on IntegriCloud