[PATCH] D70200: Fix illegal cast from uint64_t to int64_t
Sajjad Mirza via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 14:26:09 PST 2019
sajjadm added a comment.
In D70200#1745743 <https://reviews.llvm.org/D70200#1745743>, @Dor1s wrote:
> Ha, nice! LGTM. Is there any test you could easily update or add to reproduce this corner case?
I tried to write a loop that would execute INT64_MAX + 10 times, but that takes way too long. Not sure how to test it outside of the case where we have counter overflows.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70200/new/
https://reviews.llvm.org/D70200
More information about the llvm-commits
mailing list