[llvm] f90a66a - Add missing include under -DEXPENSIVE_CHECKS
via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 3 01:19:55 PST 2022
Author: serge-sans-paille
Date: 2022-03-03T10:19:39+01:00
New Revision: f90a66a54473857c61de7a9fe870cd7618de34c9
URL: https://github.com/llvm/llvm-project/commit/f90a66a54473857c61de7a9fe870cd7618de34c9
DIFF: https://github.com/llvm/llvm-project/commit/f90a66a54473857c61de7a9fe870cd7618de34c9.diff
LOG: Add missing include under -DEXPENSIVE_CHECKS
This is a follow-up to 59630917d6cc7c4a273f617f92bf6190ee2992e1
Added:
Modified:
llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp b/llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
index 338eaea889728..a715df51b4161 100644
--- a/llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
+++ b/llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
@@ -81,6 +81,10 @@
#include <algorithm>
#include <deque>
+#ifdef EXPENSIVE_CHECKS
+#include "llvm/IR/Verifier.h"
+#endif
+
using namespace llvm;
#define DEBUG_TYPE "dfa-jump-threading"
More information about the llvm-commits
mailing list