This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Refactor code that calls codegen for target regions on the device.
ClosedPublic

Authored by arpith-jacob on Jan 15 2017, 4:41 PM.

Details

Summary

This patch refactors code that calls codegen for target regions. Currently
the codebase only supports the 'target' directive. The patch pulls out
common target processing code into a static function that can be called
by codegen for any target directive.

Diff Detail

Repository
rL LLVM

Event Timeline

arpith-jacob retitled this revision from to [OpenMP] Refactor code that calls codegen for target regions on the device..
arpith-jacob updated this object.
arpith-jacob added a subscriber: cfe-commits.
ABataev accepted this revision.Jan 15 2017, 11:43 PM
ABataev edited edge metadata.

Is this an NFC patch? If so add 'NFC' to this patch.
LG

This revision is now accepted and ready to land.Jan 15 2017, 11:43 PM

Thanks Alexey.

Is this an NFC patch? If so add 'NFC' to this patch.

Do you mean NVPTX? No, this is a patch to support target directives for any accelerator.

This revision was automatically updated to reflect the committed changes.