how to overwrite an variable conditionally using let in td file

Hi,

There is an instruction definition in td file which use a super register class as in operand. The super register class contains two register classes.
can I overwrite an variable conditionally using let statement in instruction definition when the in operand is of one register class and not for the other register class?
Is there any solution like conditional let in instruction definition in td file?

Thanks,
Jerry