<div dir="ltr">I'm actually not sure we handle this correctly now.<div><br><div>We will bail out of vectorization if we know the length precisely and it's smaller than 16, but I don't think we will for a bound.<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 5, 2016 at 4:31 AM, mats petersson via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div>But I believe if I had added a `assert(length < 16)` to the code, it would have done a decent job with it. <br><br>--<br></div><div>Mats</div></div></div></div></blockquote></div></div></div></div></div>