Thomson
2015-Jan-06 10:15 UTC
[LLVMdev] 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150106/f66bd845/attachment.html>
Tom Stellard
2015-Jan-06 15:49 UTC
[LLVMdev] Lower action for SelectionDAG node with multiple operands?
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