[llvm] r318352 - Add backend name to Target to enable runtime info to be fed back into TableGen

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 14:40:15 PST 2017


Would you like to add a note in docs/ReleaseNotes.rst to give
out-of-tree maintainers a heads-up that they need to take action?

On Wed, Nov 15, 2017 at 3:55 PM, Daniel Sanders via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: dsanders
> Date: Wed Nov 15 15:55:44 2017
> New Revision: 318352
>
> URL: http://llvm.org/viewvc/llvm-project?rev=318352&view=rev
> Log:
> Add backend name to Target to enable runtime info to be fed back into TableGen
>
> Summary:
> Make it possible to feed runtime information back to tablegen to enable
> profile-guided tablegen-eration, detection of untested tablegen definitions, etc.
>
> Being a cross-compiler by nature, LLVM will potentially collect data for multiple
> architectures (e.g. when running 'ninja check'). We therefore need a way for
> TableGen to figure out what data applies to the backend it is generating at the
> time. This patch achieves that by including the name of the 'def X : Target ...'
> for the backend in the TargetRegistry.
>
> Reviewers: qcolombet
>
> Reviewed By: qcolombet
>
> Subscribers: jholewinski, arsenm, jyknight, aditya_nandakumar, sdardis, nemanjai, ab, nhaehnle, t.p.northover, javed.absar, qcolombet, llvm-commits, fedor.sergeev
>
> Differential Revision: https://reviews.llvm.org/D39742


More information about the llvm-commits mailing list