[LLVMdev] Lower action for SelectionDAG node with multiple operands?

Tom Stellard tom at stellard.net
Tue Jan 6 07:49:15 PST 2015


On Tue, Jan 06, 2015 at 06:15:04PM +0800, Thomson wrote:
> 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

> Cheers
> Thomson

> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list