Displaying 3 results from an estimated 3 matches for "targetiseldagtodag".
Did you mean:
mytargetiseldagtodag
2014 Aug 14
2
[LLVMdev] Tablegen: How to define a Pattern with multiple result instructions
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?
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...
2014 Aug 15
2
[LLVMdev] Tablegen: How to define a Pattern with multiple result instructions
...; wrote:
> 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.
>
> -T...
2012 Jan 20
2
[LLVMdev] Tablegen: How to define a Pattern with multiple result instructions
Hi,
I'm trying to create a Pattern that looks something like this:
def my_inst : Instruction <
let OutOperandList = (outs REG:$dst);
let InOperandList = (ins imm:$src);
let Uses = [R0];
>
def int_my_intrinsic : Intrinsic <
[llvm_float_ty], [llvm_i32_ty, llvm_i32_ty, llvm_i32_ty], []
>;
def : Pattern <
(int_my_intrinsic imm:$a, imm:$b, imm:$c),
[(set R0, (MOV_IMM