This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Collapsed offload actions should not be top-level jobs.
ClosedPublic

Authored by tra on Aug 15 2016, 3:09 PM.

Details

Summary

If they are, we end up with the last intermediary output preserved
in the current directory after compilation.

Added a test case to verify that we're using appropriate filenames
for outputs of different phases.

Diff Detail

Repository
rL LLVM

Event Timeline

tra updated this revision to Diff 68087.Aug 15 2016, 3:09 PM
tra retitled this revision from to [CUDA] Collapsed offload actions should not be top-level jobs. .
tra updated this object.
tra added reviewers: jlebar, sfantao.
tra added a subscriber: cfe-commits.
jlebar edited edge metadata.Aug 15 2016, 3:42 PM

Wow, I have no idea if this is right. I can try to figure it out, but if sfantao can review, that's easier.

test/Driver/cuda-bindings.cu
10 ↗(On Diff #68087)

Nonrestrictive subordinating clause, comma before "which".

60 ↗(On Diff #68087)

Spelling

tra updated this revision to Diff 68100.Aug 15 2016, 3:56 PM
tra edited edge metadata.

Addressed comments.

tra marked 2 inline comments as done.Aug 15 2016, 3:57 PM
sfantao edited edge metadata.Aug 15 2016, 4:41 PM

Hi Art,

Thanks for the patch! That looks good.

jlebar accepted this revision.Aug 22 2016, 11:50 AM
jlebar edited edge metadata.
This revision is now accepted and ready to land.Aug 22 2016, 11:50 AM
This revision was automatically updated to reflect the committed changes.