Fix potential overflow.
Use BEInsns instead of constant 2.
Add a function checking if LoopSize meet unroll preferences.
make check passed
spec2000 - build same for all
evstupac on Jun 24 2016, 7:01 PM.Authored by
Please find a couple of question/remarks below:
Is it possible to compose a test for it?
Why do we need it? At least, we can make it const I think.
That is regarding 32 bits multiplication:
(LoopSize - BEInsns) * UP.Count
I don't think we should make a test here. However I think it is possible.
That was comment from hfinkel in D19553.
LGTM with minor nits.