This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][2/3] Introduce the KernelEnvironment into the middle-end
ClosedPublic

Authored by jdoerfert on Jan 9 2022, 7:15 PM.

Details

Summary

This introduces the kernel environment, which contains information passed
by the compiler to a GPU kernel, to the middle-end (=LLVM/Core). This
allows us to create the environment and change (especially the execution
configuration part) during OpenMP-Opt. OpenMP-IR-Builder changes are
included to manifest the new globals and create the initial ones in the
first place.

Diff Detail

Event Timeline

jdoerfert created this revision.Jan 9 2022, 7:15 PM
jdoerfert requested review of this revision.Jan 9 2022, 7:15 PM
Herald added a reviewer: baziotis. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
ormris removed a subscriber: ormris.Jan 18 2022, 10:08 AM
jhuber6 accepted this revision.Jan 21 2022, 3:52 PM

LGTM

This revision is now accepted and ready to land.Jan 21 2022, 3:52 PM
jdoerfert closed this revision.Jul 26 2023, 1:40 PM

Subsumed by D142569

Herald added a project: Restricted Project. · View Herald TranscriptJul 26 2023, 1:40 PM
llvm/test/Transforms/OpenMP/single_threaded_execution.ll