[PATCH] D22596: Retry: [Driver] Compute effective target triples once per job (NFCI)
Vedant Kumar via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 20 14:47:02 PDT 2016
vsk created this revision.
vsk added reviewers: echristo, dexonsmith.
vsk added a subscriber: cfe-commits.
Herald added subscribers: mehdi_amini, aemerson.
Compute an effective triple once per job. Cache the triple in the
prevailing ToolChain for the duration of the job.
Clients which need effective triples now look them up in the ToolChain.
This eliminates wasteful re-computation of effective triples (e.g in
While we're at it, delete MachO::ComputeEffectiveClangTriple. It was a
Note: This commit is based on ToT clang with the original attempt
(r275895) reverted. See the list thread on r275895 for more context.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7591 bytes
Desc: not available
More information about the cfe-commits