From 00ae86be09d760677ee8e48cfda92e6c8da58294 Mon Sep 17 00:00:00 2001 From: Paulo Matos Date: Mon, 14 Aug 2023 15:18:53 +0200 Subject: [PATCH] [SPIRV] Explicitly include SmallSet We were relying on a transitive include. This fixed building the SPIRV backend. --- llvm/lib/Target/SPIRV/SPIRVSubtarget.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/SPIRV/SPIRVSubtarget.h b/llvm/lib/Target/SPIRV/SPIRVSubtarget.h index dd19a1d0a9bb..27286fe98fa7 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"