<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 1, 2016 at 7:29 PM, Eli Friedman <span dir="ltr"><<a href="mailto:eli.friedman@gmail.com" target="_blank">eli.friedman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">eli.friedman added a comment.<br>
<br>
My example run through "clang -S -emit-llvm -O2 -fno-unroll-loops":<br>
<br></blockquote><div><br></div><div>So this looks valid to me.</div><div><br></div><div>Sorry Taewook.</div><div><br></div><div>You can perform this optimization, but you need to do it by having clang emit metadata that lets us do it (because it's not legal in C), not solely based on LLVM IR.</div><div><br></div></div></div></div>