[PATCH] D48721: Patch to fix pragma metadata for do-while loops

Deepak Panickal via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 4 03:22:24 PDT 2018


deepak2427 added a comment.

I encountered the issue while working with the unroller and found that it was not following the pragma info, and traced it back to the issue with metadata.
As far as I understood, for for-loops and while-loops, we add the metadata only to the loop back-edge. So it would make sense to keep them consistent.
I'm not an expert in clang, and do not know how we can detect such problems.


Repository:
  rC Clang

https://reviews.llvm.org/D48721





More information about the cfe-commits mailing list