This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Disable LTO for device-side compilations.
ClosedPublic

Authored by tra on Mar 20 2018, 9:59 AM.

Details

Summary

This fixes host-side LTO during CUDA compilation. Before, LTO
pipeline construction was clashing with CUDA pipeline construction.

At the moment there's no point doing LTO on device side as each
device-side TU is a complete program. We will need to figure out
compilation pipeline construction for the device-side LTO when we
have working support for multi-TU device-side CUDA compilation.

Diff Detail

Repository
rL LLVM

Event Timeline

tra created this revision.Mar 20 2018, 9:59 AM
jlebar accepted this revision.Mar 20 2018, 10:21 AM
This revision is now accepted and ready to land.Mar 20 2018, 10:21 AM
This revision was automatically updated to reflect the committed changes.
tra added a comment.Mar 22 2018, 9:51 AM

The test failure should be fixed by r328213.