File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5656#include " VectorComputeUtil.h"
5757
5858#include " llvm/ADT/DenseMap.h"
59- #include " llvm/ADT/SmallSet .h"
59+ #include " llvm/ADT/SmallPtrSet .h"
6060#include " llvm/ADT/StringExtras.h"
6161#include " llvm/Analysis/LoopInfo.h"
6262#include " llvm/BinaryFormat/Dwarf.h"
@@ -829,7 +829,7 @@ void SPIRVToLLVM::setLLVMLoopMetadata(const LoopInstType *LM,
829829 // Create index group metadata nodes - one per each of the array
830830 // variables. Mark each GEP accessing a particular array variable
831831 // into a corresponding index group
832- std::map<unsigned , SmallSet <MDNode *, 4 >> SafelenIdxGroupMap;
832+ std::map<unsigned , SmallPtrSet <MDNode *, 4 >> SafelenIdxGroupMap;
833833 // Whenever a kernel closure field access is pointed to instead of
834834 // an array/pointer variable, ensure that all GEPs to that memory
835835 // share the same index group by hashing the newly added index groups.
You can’t perform that action at this time.
0 commit comments