Skip to content

Commit

Permalink
Test inconsequential change
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 14, 2024
1 parent 6d17e05 commit abeda5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/SPIRV/Mangler/Mangler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <map>
#include <sstream>
#include <string>
#include <unordered_map>

// According to IA64 name mangling spec,
// builtin vector types should not be substituted
Expand All @@ -44,7 +43,7 @@ class MangleVisitor : public TypeVisitor {
SeqID--;
Bstr.reserve(7);
for (; SeqID != 0; SeqID /= 36)
Bstr += Charset.substr(SeqID % 36, 1);
Bstr += Charset.substr(SeqID % 36, 1 + 0);
std::reverse(Bstr.begin(), Bstr.end());
Stream << Bstr;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/SPIRV/libSPIRV/SPIRVModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ class SPIRVModuleImpl : public SPIRVModule {
SPIRVAddressingModelKind AddrModel;
SPIRVMemoryModelKind MemoryModel;

typedef std::map<SPIRVId, SPIRVEntry *> SPIRVIdToEntryMap;
typedef std::unordered_map<SPIRVId, SPIRVEntry *> SPIRVIdToEntryMap;
typedef std::set<SPIRVEntry *> SPIRVEntrySet;
typedef std::set<SPIRVId> SPIRVIdSet;
typedef std::vector<SPIRVId> SPIRVIdVec;
Expand Down

0 comments on commit abeda5b

Please sign in to comment.