Displaying 4 results from an estimated 4 matches for "xstgmvini".
2016 Jan 13
2
Expanding a PseudoOp and accessing the DAG
...(ins i64imm:$spoff, i64imm:$addr),
"! RELADDR $spoff, $dst",
[(set GPRC:$dst, (XSTGRELADDR
i64:$spoff,
(i64
(XSTGMVINI i64:$addr))
)
)]>;
}
GlobalAddresses get lowered to RelAddr nodes in our ISelLowering code. Now
I just need to be able to expand this in our overridden expandPostRAPseudo
function, however, I'm a bi...
2016 Jan 13
2
Type inference in TableGen DAG patterns
Given the following definitions:
def SDT_XSTGMVINI : SDTypeProfile<1, 1, [SDTCisInt<0>]>;
def XSTGMVINI : SDNode<"XSTGISD::MVINI", SDT_XSTGMVINI>;
def SDT_RELADDR : SDTypeProfile<1, 2, []>;
def XSTGRELADDR : SDNode<"XSTGISD::RELADDR", SDT_RELADDR>;
let Constrai...
2016 Jan 13
2
Expanding a PseudoOp and accessing the DAG
...RC:$dst),
>> (ins i64imm:$spoff, i64imm:$addr),
>> "! RELADDR $spoff, $dst",
>> [(set GPRC:$dst, (XSTGRELADDR
>> i64:$spoff,
>>
>> (i64 (XSTGMVINI i64:$addr))
>> )
>> )]>;
>> }
>>
>
> Since i64imm is an immediate, the constraint "$dst = $addr" doesn't make
> sense. The constraint is there to tie the...
2016 Jan 13
2
Type inference in TableGen DAG patterns
...tely.
Phil
On Wed, Jan 13, 2016 at 10:26 AM, Krzysztof Parzyszek via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On 1/13/2016 11:59 AM, Phil Tomson via llvm-dev wrote:
>
>>
>> XSTGInstrInfo.td:908:73: error: expected variable name in dag literal
>>
>> i64:(XSTGMVINI i64:$addr)
>> ^
>> How can this be resolved?
>>
>
> Try (i64 (XSTGMVINI ...))
>
> -Krzysztof
>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
> by The...