Following the work on `D131672` we do the same optimisations for integer products.
We add tests to check if a loop gets removed if we repeatdly multiply an array elements with an accumulator initalised to zero
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D132553