summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2018-03-06 23:06:13 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2018-03-06 23:06:13 +0000
commite2fc88a2fe6522d47f5bc98af4caf256c27271d6 (patch)
treea69f2e107bdc2f36c5e35d8b9dab25ee22936409
parent4e8f3caf953f69633d289306cc2ff2d4a7ef178b (diff)
downloadbcm5719-llvm-e2fc88a2fe6522d47f5bc98af4caf256c27271d6.tar.gz
bcm5719-llvm-e2fc88a2fe6522d47f5bc98af4caf256c27271d6.zip
[Transforms] Add missing header for InstructionCombining.cpp, in order to export LLVMInitializeInstCombine as extern "C". Fixes PR35947.
Patch by Brenton Bostick. Differential revision: https://reviews.llvm.org/D44140 llvm-svn: 326843
-rw-r--r--llvm/lib/Transforms/InstCombine/InstructionCombining.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
index a3b2fe9e5d2..7ec73433e8f 100644
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -34,6 +34,7 @@
//===----------------------------------------------------------------------===//
#include "InstCombineInternal.h"
+#include "llvm-c/Initialization.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
OpenPOWER on IntegriCloud