<div dir="ltr"><div>Cooooooool. Confirmed on my side that register count no longer gets inflated. Ye<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">===================<br>
Ye Luo, Ph.D.<br>Computational Science Division & Leadership Computing Facility<br>
Argonne National Laboratory</div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 7, 2020 at 7:08 AM Johannes Doerfert <<a href="mailto:johannesdoerfert@gmail.com">johannesdoerfert@gmail.com</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">
<div>
<p><font face="Hack Nerd Font Mono">Hey Ye,</font></p>
<p><font face="Hack Nerd Font Mono"><br>
</font></p>
<p><font face="Hack Nerd Font Mono">will be solved (for most common
cases) with <a href="https://reviews.llvm.org/D83271" target="_blank">https://reviews.llvm.org/D83271</a> .<br>
</font></p>
<p><br>
</p>
<p>~ Johannes<br>
</p>
<p><br>
</p>
<div>On 6/30/20 2:25 PM, Ye Luo via
Openmp-dev wrote:<br>
</div>
<blockquote type="cite">
<pre>Hi all,
I just found when there are multiple offload regions, all the finally
assembled kernels use equal amount registers corresponding to the kernel
that uses the most registers. This causes all my kernels spilling registers
and thus kills performance. This is surprising and I didn't see this
behavior with IBM XL compiler.
The reproducer is provided at <a href="https://bugs.llvm.org/show_bug.cgi?id=46450" target="_blank">https://bugs.llvm.org/show_bug.cgi?id=46450</a>
I also noticed the same issue with AOMP.
So I'm wondering where could potentially be buggy in the compiling/linking
flow.
Any thoughts?
Best,
Ye
===================
Ye Luo, Ph.D.
Computational Science Division & Leadership Computing Facility
Argonne National Laboratory
</pre>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Openmp-dev mailing list
<a href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a>
</pre>
</blockquote>
</div>
</blockquote></div>