[llvm] 00ae86b - [SPIRV] Explicitly include SmallSet
Paulo Matos via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 14 06:19:29 PDT 2023
Author: Paulo Matos
Date: 2023-08-14T15:18:53+02:00
New Revision: 00ae86be09d760677ee8e48cfda92e6c8da58294
URL: https://github.com/llvm/llvm-project/commit/00ae86be09d760677ee8e48cfda92e6c8da58294
DIFF: https://github.com/llvm/llvm-project/commit/00ae86be09d760677ee8e48cfda92e6c8da58294.diff
LOG: [SPIRV] Explicitly include SmallSet
We were relying on a transitive include. This fixed
building the SPIRV backend.
Added:
Modified:
llvm/lib/Target/SPIRV/SPIRVSubtarget.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/SPIRV/SPIRVSubtarget.h b/llvm/lib/Target/SPIRV/SPIRVSubtarget.h
index dd19a1d0a9bb5d..27286fe98fa783 100644
--- a/llvm/lib/Target/SPIRV/SPIRVSubtarget.h
+++ b/llvm/lib/Target/SPIRV/SPIRVSubtarget.h
@@ -17,6 +17,7 @@
#include "SPIRVFrameLowering.h"
#include "SPIRVISelLowering.h"
#include "SPIRVInstrInfo.h"
+#include "llvm/ADT/SmallSet.h"
#include "llvm/CodeGen/GlobalISel/CallLowering.h"
#include "llvm/CodeGen/GlobalISel/InstructionSelector.h"
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
More information about the llvm-commits
mailing list