]> granicus.if.org Git - llvm/commitdiff
Merging r326843:
authorTom Stellard <tstellar@redhat.com>
Sat, 7 Apr 2018 03:59:05 +0000 (03:59 +0000)
committerTom Stellard <tstellar@redhat.com>
Sat, 7 Apr 2018 03:59:05 +0000 (03:59 +0000)
------------------------------------------------------------------------
r326843 | eugenezelenko | 2018-03-06 15:06:13 -0800 (Tue, 06 Mar 2018) | 6 lines

[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

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@329480 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstructionCombining.cpp

index b332e75c7feb2bca9d714b41416d04d0a23b5df6..35ed592ac07d8e8a22a6b66073705c0d84ce501e 100644 (file)
@@ -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"