[Openmp-dev] Performance killer: more registers are used when multiple target regions are compiled together
Ye Luo via Openmp-dev
openmp-dev at lists.llvm.org
Tue Jul 7 05:59:45 PDT 2020
Cooooooool. Confirmed on my side that register count no longer gets
inflated. Ye
===================
Ye Luo, Ph.D.
Computational Science Division & Leadership Computing Facility
Argonne National Laboratory
On Tue, Jul 7, 2020 at 7:08 AM Johannes Doerfert <johannesdoerfert at gmail.com>
wrote:
> Hey Ye,
>
>
> will be solved (for most common cases) with
> https://reviews.llvm.org/D83271 .
>
>
> ~ Johannes
>
>
> On 6/30/20 2:25 PM, Ye Luo via Openmp-dev wrote:
>
> 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 https://bugs.llvm.org/show_bug.cgi?id=46450
> 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
>
>
>
> _______________________________________________
> Openmp-dev mailing listOpenmp-dev at lists.llvm.orghttps://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20200707/43ccb83a/attachment-0001.html>
More information about the Openmp-dev
mailing list