Skip to content

Commit e13560f

Browse files
jaladreipsigcbot
authored andcommitted
Iterate over a MapVector instead of a DenseMap in InlineHelper
Iterate over a MapVector instead of a DenseMap in InlineHelper
1 parent 1ecad99 commit e13560f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/common/LLVMUtils.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class InlineHelper
5353
{
5454
private:
5555
// create a map of (type, array size, address space to alloca instructions)
56-
using AllocaMap = llvm::DenseMap<
56+
using AllocaMap = llvm::MapVector<
5757
std::tuple<llvm::Type*, uint64_t, uint32_t>,
5858
llvm::SmallVector<llvm::AllocaInst*>
5959
>;

0 commit comments

Comments
 (0)