[PATCH] D10854: Enable runtime unrolling with unroll pragma metadata

Mark Heffernan meheff at google.com
Thu Jul 9 20:29:08 PDT 2015


meheff added a comment.

Hal,

>From your earlier comments it wasn't clear whether you were suggesting that
the front end should add unroll.full and unroll.disable.runtime metadata
with "#pragma unroll" OR if unroll.full metadata should imply no runtime
unrolling in the optimizer. I opted for the latter.  It seemed more natural
for the front-end just to do a straight-forward map of the directives to
metadata, and then the optimizer has the logic to properly deal with funny
cases like pragma unroll on a runtime trip count loop.

Mark


http://reviews.llvm.org/D10854







More information about the llvm-commits mailing list