Lower action for SelectionDAG node with multiple operands?

For each combination of the target independent SelectionDAG operation and data type, an action (one of Legal, Promote, Expand and Custom) can be specified. In this case, how to handle the combination of one SelectionDAG node with multiple data types as its operands?

Cheers
Thomson

For each combination of the target independent SelectionDAG operation and
data type, an action (one of Legal, Promote, Expand and Custom) can be
specified. In this case, how to handle the combination of one SelectionDAG
node with multiple data types as its operands?

In most cases, the type refers to the output type of the SelectionDAG
operation. SelectionDAGLegalize::LegalizeOp() is a good reference
if you want to find out which operations are the exception to this rule.

-Tom