[Mlir-commits] [mlir] 874305c - [mlir] Fix clang5 build after D113641

River Riddle llvmlistbot at llvm.org
Tue Nov 16 11:51:06 PST 2021


Author: River Riddle
Date: 2021-11-16T19:49:17Z
New Revision: 874305c738496f30728aeb0b5252b4cf91e04357

URL: https://github.com/llvm/llvm-project/commit/874305c738496f30728aeb0b5252b4cf91e04357
DIFF: https://github.com/llvm/llvm-project/commit/874305c738496f30728aeb0b5252b4cf91e04357.diff

LOG: [mlir] Fix clang5 build after D113641

Added: 
    

Modified: 
    mlir/include/mlir/Support/LLVM.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Support/LLVM.h b/mlir/include/mlir/Support/LLVM.h
index 885521037f21..b8f6bbeba94d 100644
--- a/mlir/include/mlir/Support/LLVM.h
+++ b/mlir/include/mlir/Support/LLVM.h
@@ -27,6 +27,7 @@
 // Workaround for clang-5 (PR41549)
 #if defined(__clang_major__)
 #if __clang_major__ <= 5
+#include "llvm/ADT/DenseMapInfo.h"
 #include "llvm/ADT/SmallVector.h"
 #endif
 #endif


        


More information about the Mlir-commits mailing list