Page MenuHomePhabricator

[OpenMP][NFC] Emit remarks during GPU state machine optimization
ClosedPublic

Authored by jdoerfert on Jul 13 2020, 11:48 AM.

Details

Summary

Since D83271 we can optimize the GPU state machine to avoid spurious
call edges that increase the register usage of kernels. With this patch
we inform the user why and if this optimization is happening and when it
is not.

Diff Detail

Event Timeline

jdoerfert created this revision.Jul 13 2020, 11:48 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 13 2020, 11:48 AM
ye-luo added inline comments.Jul 13 2020, 12:08 PM
clang/test/OpenMP/remarks_parallel_in_target_state_machine.c
13

Add a space "machineomp_outlined2_wrapper" to "machine omp_outlined2_wrapper"

simplify test

Improve wording

jdoerfert updated this revision to Diff 277951.Jul 14 2020, 1:05 PM

Improve wording (again)

jdoerfert updated this revision to Diff 277962.Jul 14 2020, 1:35 PM

Add SPMD tests

ye-luo accepted this revision.Jul 14 2020, 1:36 PM

LGTM

This revision is now accepted and ready to land.Jul 14 2020, 1:36 PM
This revision was automatically updated to reflect the committed changes.