[llvm] 85435bd - [ARC] Add InitializePasses header to fix ARC build.

Pete Couperus via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 15:59:51 PST 2019


Author: Pete Couperus
Date: 2019-11-19T15:52:01-08:00
New Revision: 85435bdde00241057989a2f579ea6c9c64ef1606

URL: https://github.com/llvm/llvm-project/commit/85435bdde00241057989a2f579ea6c9c64ef1606
DIFF: https://github.com/llvm/llvm-project/commit/85435bdde00241057989a2f579ea6c9c64ef1606.diff

LOG: [ARC] Add InitializePasses header to fix ARC build.

Added: 
    

Modified: 
    llvm/lib/Target/ARC/ARCBranchFinalize.cpp
    llvm/lib/Target/ARC/ARCOptAddrMode.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/ARC/ARCBranchFinalize.cpp b/llvm/lib/Target/ARC/ARCBranchFinalize.cpp
index 633c081b3137..2f05ac4ceeed 100644
--- a/llvm/lib/Target/ARC/ARCBranchFinalize.cpp
+++ b/llvm/lib/Target/ARC/ARCBranchFinalize.cpp
@@ -20,6 +20,7 @@
 #include "llvm/CodeGen/MachineRegisterInfo.h"
 #include "llvm/CodeGen/Passes.h"
 #include "llvm/CodeGen/TargetInstrInfo.h"
+#include "llvm/InitializePasses.h"
 #include "llvm/Support/Debug.h"
 #include <vector>
 

diff  --git a/llvm/lib/Target/ARC/ARCOptAddrMode.cpp b/llvm/lib/Target/ARC/ARCOptAddrMode.cpp
index 22a3b9111c8e..901cd5a1efac 100644
--- a/llvm/lib/Target/ARC/ARCOptAddrMode.cpp
+++ b/llvm/lib/Target/ARC/ARCOptAddrMode.cpp
@@ -22,6 +22,7 @@
 #include "llvm/CodeGen/MachineInstrBuilder.h"
 #include "llvm/CodeGen/TargetRegisterInfo.h"
 #include "llvm/IR/Function.h"
+#include "llvm/InitializePasses.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
 


        


More information about the llvm-commits mailing list