Gabriel Hjort Åkerlund via llvm-dev
2021-Feb-05 06:46 UTC
[llvm-dev] matchertable document
Hi Janboe, As far as I know, there is no such document. The closest thing I have found which explains how the matchtable works is a blog post: https://eli.thegreenplace.net/2013/02/25/a-deeper-look-into-the-llvm-code-generator-part-1 It's dated, but the core of it is still applies today. Cheers, Gabriel -----Original Message----- From: llvm-dev <llvm-dev-bounces at lists.llvm.org> On Behalf Of ye janboe via llvm-dev Sent: den 5 februari 2021 04:08 To: llvm-dev at lists.llvm.org Subject: [llvm-dev] matchertable document hi, I want to understand how instruction is matched, but I could not find any document about martchertable by googling. Is there any document about how it is generated by tablegen and how it works for instruction selection? Thanks Janboe _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org https://protect2.fireeye.com/v1/url?k=fdaefe94-a235c791-fdaebe0f-86d2114eab2f-66d5fe93dc952857&q=1&e=f48943dd-62b6-412a-845f-0b502e82239d&u=https%3A%2F%2Flists.llvm.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fllvm-dev -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6320 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210205/d733173c/attachment.bin>
hi,Gabriel Thanks for this information. Janboe On Fri, Feb 5, 2021 at 2:46 PM Gabriel Hjort Åkerlund <gabriel.hjort.akerlund at ericsson.com> wrote:> > Hi Janboe, > > As far as I know, there is no such document. The closest thing I have found > which explains how the matchtable works is a blog post: > https://eli.thegreenplace.net/2013/02/25/a-deeper-look-into-the-llvm-code-generator-part-1 > > It's dated, but the core of it is still applies today. > > Cheers, > Gabriel > > -----Original Message----- > From: llvm-dev <llvm-dev-bounces at lists.llvm.org> On Behalf Of ye janboe via > llvm-dev > Sent: den 5 februari 2021 04:08 > To: llvm-dev at lists.llvm.org > Subject: [llvm-dev] matchertable document > > hi, > I want to understand how instruction is matched, but I could not find any > document about martchertable by googling. > > Is there any document about how it is generated by tablegen and how it works > for instruction selection? > > Thanks > > Janboe > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://protect2.fireeye.com/v1/url?k=fdaefe94-a235c791-fdaebe0f-86d2114eab2f-66d5fe93dc952857&q=1&e=f48943dd-62b6-412a-845f-0b502e82239d&u=https%3A%2F%2Flists.llvm.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fllvm-dev