This is an archive of the discontinued LLVM Phabricator instance.

[LTO] Handle Task=-1 passed to addSaveTemps
ClosedPublic

Authored by tejohnson on May 4 2018, 8:12 PM.

Details

Summary

This change is necessary for D46464, which will pass -1 as the Task
ID for distributed backends, so that the save temps files don't end
up with "4294967295" in their path. For distributed back ends, when -1
is passed, don't append any Task ID.

An existing test (tools/clang/test/CodeGen/thinlto_backend.ll) will
fail without this change after D46464.

Diff Detail

Repository
rL LLVM

Event Timeline

tejohnson created this revision.May 4 2018, 8:12 PM
pcc accepted this revision.May 4 2018, 8:40 PM

LGTM

This revision is now accepted and ready to land.May 4 2018, 8:40 PM
This revision was automatically updated to reflect the committed changes.