This is an archive of the discontinued LLVM Phabricator instance.

--cuda-host-only should not disable linking phase.
ClosedPublic

Authored by tra on Jul 28 2015, 1:29 PM.

Details

Summary

Host-only cuda compilation does produce valid host object file and in some cases users do want to proceed on to the linking phase.
The change removes special case that stopped compilation pipeline at the Assembly phase.
Device-side compilation is still stopped early by the types::getCompilationPhases().

Diff Detail

Repository
rL LLVM

Event Timeline

tra updated this revision to Diff 30848.Jul 28 2015, 1:29 PM
tra retitled this revision from to --cuda-host-only should not disable linking phase..
tra updated this object.
tra added reviewers: echristo, samsonov.
tra added a subscriber: cfe-commits.
samsonov accepted this revision.Jul 28 2015, 1:44 PM
samsonov edited edge metadata.

Looks reasonable.

This revision is now accepted and ready to land.Jul 28 2015, 1:44 PM
echristo accepted this revision.Jul 28 2015, 1:49 PM
echristo edited edge metadata.

One inline comment.

-eric

test/Driver/cuda-options.cu
30 ↗(On Diff #30848)

Grammar?

This revision was automatically updated to reflect the committed changes.