Skip to content

Commit

Permalink
Use map since it affects output order
Browse files Browse the repository at this point in the history
Signed-off-by: Lu, John <john.lu@intel.com>
  • Loading branch information
LU-JOHN committed Feb 13, 2024
1 parent 268fbef commit c32ab5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SPIRV/OCLTypeToSPIRV.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class OCLTypeToSPIRVBase : protected BuiltinCallHelper {
llvm::Module *M;
llvm::LLVMContext *Ctx;
// Map of argument/Function -> adapted type (probably TypedPointerType)
std::unordered_map<llvm::Value *, llvm::Type *> AdaptedTy;
std::map<llvm::Value *, llvm::Type *> AdaptedTy;
std::set<llvm::Function *> WorkSet; // Functions to be adapted

void adaptFunctionArguments(llvm::Function *F);
Expand Down

0 comments on commit c32ab5d

Please sign in to comment.