This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Disable PGO and coverage instrumentation in NVPTX.
ClosedPublic

Authored by tra on Jan 23 2018, 5:04 PM.

Details

Summary

NVPTX does not have runtime support necessary for profiling to work
and even call arc collection is prohibitively expensive. Furthermore,
there's no easy way to collect the samples. NVPTX also does not
support global constructors that clang generates if sample/arc collection
is enabled.

Diff Detail

Repository
rL LLVM

Event Timeline

tra created this revision.Jan 23 2018, 5:04 PM
jlebar accepted this revision.Jan 23 2018, 5:15 PM
This revision is now accepted and ready to land.Jan 23 2018, 5:15 PM
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.