[clang] [clang][RISCV] Extend intrinsic size check variable from 16 -> 32 bits. NFC (PR #111481)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 8 00:38:26 PDT 2024


================
@@ -399,7 +399,7 @@ void RISCVIntrinsicManagerImpl::InitRVVIntrinsic(
                                      Record.HasFRMRoundModeOp);
 
   // Put into IntrinsicList.
-  uint16_t Index = IntrinsicList.size();
+  uint32_t Index = IntrinsicList.size();
----------------
topperc wrote:

What is the type of Intrinsics on this line further down

```
Intrinsics.insert({Name, Index});
```

https://github.com/llvm/llvm-project/pull/111481


More information about the cfe-commits mailing list