[llvm-dev] Manipulating DAGs in TableGen

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 14 06:04:00 PDT 2020


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?



More information about the llvm-dev mailing list