[PATCH] Use loop unrolling pragma metadata in the loop unroller

Pekka Jääskeläinen pekka.jaaskelainen at gmail.com
Tue Jun 10 12:54:32 PDT 2014


Great, this feature will be really useful. How about naming these metadatas using the llvm.loop. as a prefix? That is, llvm.loop.unroll.enable etc? Maybe it's worth adding a test case with a negative unroll count to ensure nothing bad happens. Otherwise LGTM.

http://reviews.llvm.org/D4090






More information about the llvm-commits mailing list