Skip to content

Commit 86ffbd6

Browse files
committed
fixup! use uint32_t.
1 parent 83579bb commit 86ffbd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Sema/SemaRISCVVectorLookup.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ struct RVVIntrinsicDef {
4343

4444
struct RVVOverloadIntrinsicDef {
4545
// Indexes of RISCVIntrinsicManagerImpl::IntrinsicList.
46-
SmallVector<unsigned, 8> Indexes;
46+
SmallVector<uint32_t, 8> Indexes;
4747
};
4848

4949
} // namespace
@@ -162,7 +162,7 @@ class RISCVIntrinsicManagerImpl : public sema::RISCVIntrinsicManager {
162162
// List of all RVV intrinsic.
163163
std::vector<RVVIntrinsicDef> IntrinsicList;
164164
// Mapping function name to index of IntrinsicList.
165-
StringMap<unsigned> Intrinsics;
165+
StringMap<uint32_t> Intrinsics;
166166
// Mapping function name to RVVOverloadIntrinsicDef.
167167
StringMap<RVVOverloadIntrinsicDef> OverloadIntrinsics;
168168

@@ -174,7 +174,7 @@ class RISCVIntrinsicManagerImpl : public sema::RISCVIntrinsicManager {
174174

175175
// Create FunctionDecl for a vector intrinsic.
176176
void CreateRVVIntrinsicDecl(LookupResult &LR, IdentifierInfo *II,
177-
Preprocessor &PP, unsigned Index,
177+
Preprocessor &PP, uint32_t Index,
178178
bool IsOverload);
179179

180180
void ConstructRVVIntrinsics(ArrayRef<RVVIntrinsicRecord> Recs,

0 commit comments

Comments
 (0)