[llvm] [Reassociate] Use uint64_t for repeat count (PR #94232)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 09:59:06 PDT 2024


dtcxzyw wrote:

> I don't see any overflow checks here... is there some reason you can't overflow a uint64_t?

I think it overflows when there are more than 2^64 instructions in the IR. Can you provide a counterexample?


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


More information about the llvm-commits mailing list