[llvm-dev] Manipulating DAGs in TableGen

Paul C. Anagnostopoulos via llvm-dev
Mon, 19 Oct 2020 17:33:43 -0000

But aren't we concerned about users of TableGen outside of the LLVM project?
I've come across at least one in my travels through the interwebs.

At 10/19/2020 01:25 PM, Nicolai HÃ¤hnle wrote:
>On 19.10.20 18:53, Paul C. Anagnostopoulos wrote:
>>I think I will do both. In order that dag(i) can work and fetch the
operator, an integer index is needed for it. So -1 for the operator. Then that
should be supported in the other bang operators.
>>Meanwhile, I will rename !getdagop and !setdagop just for consistency.
The old !getop and !setop will remain, of course, but deprecated. !getop is used
0 times and !setop 4 times.
>
>If it's really only used 4 times, it may be worth just removing those
instances instead of keeping the deprecated versions around.
>
>Cheers,
>Nicolai