File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ struct RVVIntrinsicDef {
50
50
51
51
struct RVVOverloadIntrinsicDef {
52
52
// Indexes of RISCVIntrinsicManagerImpl::IntrinsicList.
53
- SmallVector<uint16_t , 8 > Indexes;
53
+ SmallVector<uint32_t , 8 > Indexes;
54
54
};
55
55
56
56
} // namespace
@@ -169,7 +169,7 @@ class RISCVIntrinsicManagerImpl : public sema::RISCVIntrinsicManager {
169
169
// List of all RVV intrinsic.
170
170
std::vector<RVVIntrinsicDef> IntrinsicList;
171
171
// Mapping function name to index of IntrinsicList.
172
- StringMap<uint16_t > Intrinsics;
172
+ StringMap<uint32_t > Intrinsics;
173
173
// Mapping function name to RVVOverloadIntrinsicDef.
174
174
StringMap<RVVOverloadIntrinsicDef> OverloadIntrinsics;
175
175
@@ -399,7 +399,7 @@ void RISCVIntrinsicManagerImpl::InitRVVIntrinsic(
399
399
Record.HasFRMRoundModeOp );
400
400
401
401
// Put into IntrinsicList.
402
- uint16_t Index = IntrinsicList.size ();
402
+ uint32_t Index = IntrinsicList.size ();
403
403
assert (IntrinsicList.size () == (size_t )Index &&
404
404
" Intrinsics indices overflow." );
405
405
IntrinsicList.push_back ({BuiltinName, Signature});
You can’t perform that action at this time.
0 commit comments