This is an archive of the discontinued LLVM Phabricator instance.

[OMPT] Workaround clang failing with 'declare target'
ClosedPublic

Authored by Hahnfeld on Jan 27 2016, 7:29 AM.

Details

Summary

Current clang trunk reports _OPENMP to be 201307 = OpenMP 4.0. It doesn't recognize #pragma omp declare target though (patch still pending) and therefore fails compilation.

Diff Detail

Repository
rL LLVM

Event Timeline

Hahnfeld updated this revision to Diff 46133.Jan 27 2016, 7:29 AM
Hahnfeld retitled this revision from to [OMPT] Workaround clang failing with 'declare target'.
Hahnfeld updated this object.
Hahnfeld added subscribers: tcramer, openmp-commits.
jlpeyton accepted this revision.Jan 27 2016, 8:44 AM
jlpeyton edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jan 27 2016, 8:44 AM
This revision was automatically updated to reflect the committed changes.