[LLVMdev] WG: TableGen: NumResults <= 1 restriction

Stripf, Timo Timo.Stripf at itiv.uni-karlsruhe.de
Wed May 13 07:46:01 PDT 2009


Hi all,

 

i'm working atm on a backend for a processor architecture that is
capable of storing the carry flag of ADDC in an 1-bit register class. So
I tried to lower the ADDC instruction to generate two register values as
result. On the tablegen description of the instruction i came across the
tablegen restriction that only one output result of one instruction is
possible:

 

  assert(NumResults <= 1 &&

         "We only work with nodes with zero or one result so far!");

 

So my question is now how much work it would be to remove this
restriction in tablegen. What do I have to take into consideration?

 

Thanks,

Timo Stripf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090513/e24c4bda/attachment.html>


More information about the llvm-dev mailing list