Skip to content

Commit 97069a6

Browse files
authored
Fix missing includes (#2605)
The affected source files were relying on transitive includes that were no longer included after recent llvm-project changes (such as 36c6632eb43b ("[IR] Don't include PassInstrumentation.h in PassManager.h (NFC) (#96219)", 2024-06-21)).
1 parent cd4eaf6 commit 97069a6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/SPIRV/SPIRVReader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
#include "llvm/IR/MDBuilder.h"
7272
#include "llvm/IR/Metadata.h"
7373
#include "llvm/IR/Module.h"
74+
#include "llvm/IR/PassInstrumentation.h"
7475
#include "llvm/IR/Type.h"
7576
#include "llvm/IR/TypedPointerType.h"
7677
#include "llvm/Support/Casting.h"

lib/SPIRV/libSPIRV/SPIRVDebug.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242
#include "llvm/IR/Verifier.h"
4343
#include "llvm/Support/CommandLine.h"
44+
#include "llvm/Support/Debug.h"
4445
#include "llvm/Support/raw_ostream.h"
4546

4647
#define DEBUG_TYPE "spirv-regularization"

0 commit comments

Comments
 (0)