[flang-commits] [flang] [flang] Check for overflows in RESHAPE folding (PR #68342)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Tue Oct 17 12:39:43 PDT 2023


luporl wrote:

Thanks for the review. I've modified `TotalElementCount()` to return `std::optional<uint64_t>` and changed all of its callers to check for overflows.

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


More information about the flang-commits mailing list