<div dir="ltr">Nevermind, I think I've been able to reproduce the issue on AArch64. We had code like the following:<div><br></div><div>%tmp0 = load i32*, i32** %tmp1, align 8<br></div><div><div>store i32 0, i32* %tmp0, align 4</div></div><div><br></div><div>and the scalars analysis was marking the load for scalarization by mistake. I'll add an appropriate test to the patch. Thanks for reporting!</div><div><br></div><div>-- Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 28, 2017 at 11:31 AM, Matthew Simpson <span dir="ltr"><<a href="mailto:mssimpso@codeaurora.org" target="_blank">mssimpso@codeaurora.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">Hi Ulrich,<div><br></div><div>Would you mind helping me reproduce the assertion you ran into? I haven't been able to trigger it yet, and I'd like to make sure it's resolved before recommitting the patch. Thanks!</div><div><br></div><div>-- Matt</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 24, 2017 at 2:53 PM, Ulrich Weigand via Phabricator via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@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">uweigand added a comment.<br>
<br>
It looks like this commit caused a regression in the test-suite on SystemZ, I now get an assertion failure:<br>
<br>
clang-5.0: /home/uweigand/llvm/llvm-head/<wbr>lib/Transforms/Vectorize/LoopV<wbr>ectorize.cpp:2740: llvm::Value* {anonymous}::InnerLoopVectoriz<wbr>er::getScalarValue(llvm::<wbr>Value*, unsigned int, unsigned int): Assertion `Lane > 0 ? !Cost->isUniformAfterVectoriza<wbr>tion(cast<Instruction>(V), VF) : true && "Uniform values only have lane zero"' failed.<br>
<br>
when building MultiSource/Benchmarks/Prolang<wbr>s-C/TimberWolfMC/analyze.c<br>
<span class="m_4074581185672198516im m_4074581185672198516HOEnZb"><br>
<br>
Repository:<br>
rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D30710" rel="noreferrer" target="_blank">https://reviews.llvm.org/D3071<wbr>0</a><br>
<br>
<br>
<br>
</span><div class="m_4074581185672198516HOEnZb"><div class="m_4074581185672198516h5">______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>