Madhur Amilkanthwar via llvm-dev
2020-Oct-14 03:33 UTC
[llvm-dev] Manipulating DAGs in TableGen
On Tue, Oct 13, 2020, 10:44 PM Paul C. Anagnostopoulos <paul at windfall.com> wrote:> Madhur, could you describe !getdagrestype in more detail? In particular, I > don't know what "type of result value" means. >I mean the data type of the result computed by a DAG node. A DAG node may receive a bunch of values from others nodes, applies its operator and returns an 'int', so its restype is 'int', for example. Does that make sense?>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201014/c693c4aa/attachment.html>
Paul C. Anagnostopoulos via llvm-dev
2020-Oct-14 13:04 UTC
[llvm-dev] Manipulating DAGs in TableGen
I don't think it makes sense. The intepretation of DAG operators and operands is entirely up to the backend(s) analyzing those records. The operators have no meaning to TableGen. At 10/13/2020 11:33 PM, Madhur Amilkanthwar wrote:>On Tue, Oct 13, 2020, 10:44 PM Paul C. Anagnostopoulos <<mailto:paul at windfall.com>paul at windfall.com> wrote: >Madhur, could you describe !getdagrestype in more detail? In particular, I don't know what "type of result value" means. > >I mean the data type of the result computed by a DAG node. A DAG node may receive a bunch of values from others nodes, applies its operator and returns an 'int', so its restype is 'int', for example. > >Does that make sense?
Madhur Amilkanthwar via llvm-dev
2020-Oct-14 13:18 UTC
[llvm-dev] Manipulating DAGs in TableGen
Oh yeah, I got that confused with types provided by TableGen. I take that back. On Wed, Oct 14, 2020, 6:37 PM Paul C. Anagnostopoulos <paul at windfall.com> wrote:> I don't think it makes sense. The intepretation of DAG operators and > operands is entirely up to the backend(s) analyzing those records. The > operators have no meaning to TableGen. > > At 10/13/2020 11:33 PM, Madhur Amilkanthwar wrote: > > >On Tue, Oct 13, 2020, 10:44 PM Paul C. Anagnostopoulos <<mailto: > paul at windfall.com>paul at windfall.com> wrote: > >Madhur, could you describe !getdagrestype in more detail? In particular, > I don't know what "type of result value" means. > > > >I mean the data type of the result computed by a DAG node. A DAG node may > receive a bunch of values from others nodes, applies its operator and > returns an 'int', so its restype is 'int', for example. > > > >Does that make sense? > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201014/9e3b4e9c/attachment.html>