Change loop induction variable type to match the type of "SIZE" where it's compared against, to prevent infinite loop caused by overflow wraparound if there are more than 2^32 samples
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The change makes sense since the fields are actually 64-bit ones. But which one of the loops did you run into issue with? Curious which part is overflowing int32.