From 50874a188b94a25827963956887b878d3701509a Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 1 Mar 2022 11:36:25 -0800 Subject: [PATCH] Fix -DLLVM_ENABLE_EXPENSIVE_CHECKS=on build after D120659 --- llvm/lib/Analysis/LazyCallGraph.cpp | 1 + llvm/lib/Analysis/LoopPass.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/llvm/lib/Analysis/LazyCallGraph.cpp b/llvm/lib/Analysis/LazyCallGraph.cpp index 88ea53c..381af584 100644 --- a/llvm/lib/Analysis/LazyCallGraph.cpp +++ b/llvm/lib/Analysis/LazyCallGraph.cpp @@ -9,6 +9,7 @@ #include "llvm/Analysis/LazyCallGraph.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/STLExtras.h" +#include "llvm/ADT/ScopeExit.h" #include "llvm/ADT/Sequence.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SmallVector.h" diff --git a/llvm/lib/Analysis/LoopPass.cpp b/llvm/lib/Analysis/LoopPass.cpp index fb366da..eb9c4b9 100644 --- a/llvm/lib/Analysis/LoopPass.cpp +++ b/llvm/lib/Analysis/LoopPass.cpp @@ -19,6 +19,7 @@ #include "llvm/IR/OptBisect.h" #include "llvm/IR/PassTimingInfo.h" #include "llvm/IR/PrintPasses.h" +#include "llvm/IR/StructuralHash.h" #include "llvm/InitializePasses.h" #include "llvm/Support/Debug.h" #include "llvm/Support/TimeProfiler.h" -- 2.7.4