[LLVMdev] Tablegen: How to define a Pattern with multiple result instructions

Tom Stellard tom at stellard.net
Thu Aug 14 06:27:16 PDT 2014


On Thu, Aug 14, 2014 at 12:05:33AM -0700, Arsen Hakobyan wrote:
> Hi all,
> 
> I would like to be sure that Tablegen still does not support completely
> separate multiple instruction generation, and the only way is to write
> costume code (may be in TargetISelDAGToDAG class) to get the needed result.
> 
> Dear Tom, do you found other solution (using Tablegen tool) for this?
> 

I think the best way to do this is to use a pseudo instruction and then
expand it after instruction selection by using a custom inserter.

-Tom

> Thanks,
> Arsen
> 
> 
> 
> --
> View this message in context: http://llvm.1065342.n5.nabble.com/Tablegen-How-to-define-a-Pattern-with-multiple-result-instructions-tp44115p71453.html
> Sent from the LLVM - Dev mailing list archive at Nabble.com.
> _______________________________________________
> 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