Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Fix overflow detection for folding SUM/PRODUCT
The overflow detection code in the templates that fold SUM and PRODUCT was checking for overflow before performing the reduction, not after. Fix and add tests. Differential Revision: https://reviews.llvm.org/D154374
- Loading branch information