File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ struct RVVIntrinsicDef {
5050
5151struct RVVOverloadIntrinsicDef {
5252 // Indexes of RISCVIntrinsicManagerImpl::IntrinsicList.
53- SmallVector<uint16_t , 8 > Indexes;
53+ SmallVector<uint32_t , 8 > Indexes;
5454};
5555
5656} // namespace
@@ -169,7 +169,7 @@ class RISCVIntrinsicManagerImpl : public sema::RISCVIntrinsicManager {
169169 // List of all RVV intrinsic.
170170 std::vector<RVVIntrinsicDef> IntrinsicList;
171171 // Mapping function name to index of IntrinsicList.
172- StringMap<uint16_t > Intrinsics;
172+ StringMap<uint32_t > Intrinsics;
173173 // Mapping function name to RVVOverloadIntrinsicDef.
174174 StringMap<RVVOverloadIntrinsicDef> OverloadIntrinsics;
175175
@@ -399,7 +399,7 @@ void RISCVIntrinsicManagerImpl::InitRVVIntrinsic(
399399 Record.HasFRMRoundModeOp );
400400
401401 // Put into IntrinsicList.
402- uint16_t Index = IntrinsicList.size ();
402+ uint32_t Index = IntrinsicList.size ();
403403 assert (IntrinsicList.size () == (size_t )Index &&
404404 " Intrinsics indices overflow." );
405405 IntrinsicList.push_back ({BuiltinName, Signature});
You can’t perform that action at this time.
0 commit comments