<div dir="ltr">Sorry if this is answered in the patches but what happens if a loop has both #pragma clang loop and transform defined before it? I guess it probably shouldn't work.<div><br></div><div>Perhaps instead you could create a new option to indicate that the order should be respected.</div><div><br></div><div><div>

#pragma clang loop respect_order  <- optionally with (true) or (false)</div></div><div><br></div><div>That approach would avoid the inevitable conflicts of having both loop and transform pragmas on the same loop.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 17, 2019 at 5:27 PM Michael Kruse via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Meinersbur added a comment.<br>
<br>
In D69088#1713623 <<a href="https://reviews.llvm.org/D69088#1713623" rel="noreferrer" target="_blank">https://reviews.llvm.org/D69088#1713623</a>>, @hsaito wrote:<br>
<br>
> @Meinersbur, if I remember correctly, there was an RFC discussion on this topic, right? If yes, would you post the pointer to that? I need a refresher on what has been discussed/settled in the past.<br>
<br>
<br>
<a href="https://lists.llvm.org/pipermail/cfe-dev/2018-May/058141.html" rel="noreferrer" target="_blank">https://lists.llvm.org/pipermail/cfe-dev/2018-May/058141.html</a><br>
<br>
<br>
Repository:<br>
  rC Clang<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D69088/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D69088/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D69088" rel="noreferrer" target="_blank">https://reviews.llvm.org/D69088</a><br>
<br>
<br>
<br>
</blockquote></div>