Hi,
A piece of code in a target description file:
def SDTIntBinOp : SDTypeProfile<1, 2, [ // add, and, or, xor, udiv, etc.
SDTCisSameAs<0, 1>, SDTCisSameAs<0, 2>, SDTCisInt<0>
]>;
May I understand “SDTCisSameAs<0, 1>, SDTCisSameAs<0, 2>, SDTCisInt<0>” as below?
(Z = X + Y, for example);
Z:0
X:1
Y:2
X has same type as Z
Y has same type as Z
Z is a integer
Thanks