[PATCH] D30207: [ARM] Fix constant islands pass.

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 12:43:25 PST 2017


rengolin added a comment.

In https://reviews.llvm.org/D30207#682672, @efriedma wrote:

> Artificial testcase:
>
>   int a(int *z, int c) {
>     unsigned pow = c;
>   #pragma unroll(2000)
>     for (int i = 0; i < 2000; ++i)
>       pow *= c; return pow;
>   }
>


That's still going to look horrendous in IR, no?


https://reviews.llvm.org/D30207





More information about the llvm-commits mailing list