summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-08-23 22:08:27 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-08-23 22:08:27 +0000
commit8c3fbdc6c4649f8c3c018cf32be4407c672e574c (patch)
tree4b1501127fddc6956350b27ea9cba6d871ef28ed /llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
parentd0cfb7344e101f656be024d29d9cd0aaefea4288 (diff)
downloadbcm5719-llvm-8c3fbdc6c4649f8c3c018cf32be4407c672e574c.tar.gz
bcm5719-llvm-8c3fbdc6c4649f8c3c018cf32be4407c672e574c.zip
Revert r279564. It introduces undefined behavior (binding a reference to a
dereferenced null pointer) in MachineModuleInfo::MachineModuleInfo that causes -Werror builds (including several buildbots) to fail. llvm-svn: 279580
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 6b4450cdc24..982a534e9c8 100644
--- a/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
@@ -14,6 +14,7 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/PostDominators.h"
+#include "llvm/CodeGen/MachineFunctionAnalysis.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
OpenPOWER on IntegriCloud