This is an archive of the discontinued LLVM Phabricator instance.

[PATCH 2/2] [Driver] Compute effective target triples once per job (NFCI)
ClosedPublic

Authored by vsk on Jul 12 2016, 4:53 PM.

Details

Summary

Compute an effective target triple exactly once in ConstructJob(), and
then simply pass around const references to it. This eliminates wasteful
re-computation of effective triples (e.g in getARMFloatABI()).

Diff Detail

Repository
rL LLVM

Event Timeline

vsk updated this revision to Diff 63757.Jul 12 2016, 4:53 PM
vsk retitled this revision from to [PATCH 2/2] [Driver] Compute effective target triples once per job (NFCI).
vsk updated this object.
vsk added a reviewer: dexonsmith.
vsk added a subscriber: cfe-commits.

On the thread you suggested it would affect out-of-tree targets, so this probably deserves a release note?

vsk updated this revision to Diff 64023.Jul 14 2016, 12:06 PM
  • Addressed Paul's comment: added a release note about this.
  • Rebased onto master to pick up an Xray change.
This revision was automatically updated to reflect the committed changes.