[llvm] 3f24561 - [unittest] Include Module.h after #97023

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 28 09:40:33 PDT 2024


Author: Fangrui Song
Date: 2024-06-28T09:40:27-07:00
New Revision: 3f24561bc14fab4dbedd95955c45983197b659f3

URL: https://github.com/llvm/llvm-project/commit/3f24561bc14fab4dbedd95955c45983197b659f3
DIFF: https://github.com/llvm/llvm-project/commit/3f24561bc14fab4dbedd95955c45983197b659f3.diff

LOG: [unittest] Include Module.h after #97023

Added: 
    

Modified: 
    llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp
    llvm/unittests/Target/SPIRV/SPIRVConvergenceRegionAnalysisTests.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp b/llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp
index 0f3367dd455f2..9d41e94bb0bae 100644
--- a/llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp
+++ b/llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp
@@ -10,6 +10,7 @@
 #include "llvm/AsmParser/Parser.h"
 #include "llvm/IR/Instructions.h"
 #include "llvm/IR/LLVMContext.h"
+#include "llvm/IR/Module.h"
 #include "llvm/IR/Type.h"
 #include "llvm/IR/TypedPointerType.h"
 #include "llvm/Support/SourceMgr.h"

diff  --git a/llvm/unittests/Target/SPIRV/SPIRVConvergenceRegionAnalysisTests.cpp b/llvm/unittests/Target/SPIRV/SPIRVConvergenceRegionAnalysisTests.cpp
index fc7c6e6ed762e..d45b4c0b9630d 100644
--- a/llvm/unittests/Target/SPIRV/SPIRVConvergenceRegionAnalysisTests.cpp
+++ b/llvm/unittests/Target/SPIRV/SPIRVConvergenceRegionAnalysisTests.cpp
@@ -13,6 +13,7 @@
 #include "llvm/IR/Instructions.h"
 #include "llvm/IR/LLVMContext.h"
 #include "llvm/IR/LegacyPassManager.h"
+#include "llvm/IR/Module.h"
 #include "llvm/IR/PassInstrumentation.h"
 #include "llvm/IR/Type.h"
 #include "llvm/IR/TypedPointerType.h"


        


More information about the llvm-commits mailing list