search for: tgt_load

Displaying 2 results from an estimated 2 matches for "tgt_load".

Did you mean: pt_load
2018 Nov 30
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...he address calculation but doesn't need to use the value in the apply then it would be something like: def : GICombineRule< (defs operand:$D, operand:$A), (match (G_LOAD $D, $A):$MI, (mmo_is_load8 instr:$MI) (is_addr_plus_1 operand:$A), (apply (TGT_LOAD $D, $A, 1)>; or if a value like an offset needs passing, it would be something like: def : GICombineRule< (defs operand:$D, addr_plus_simm16:$A), (match (G_LOAD $D, $A):$MI, (mmo_is_load8 instr:$MI) (is_addr_plus_simm16 operand:$A), (apply (crea...
2018 Nov 27
3
[RFC] Tablegen-erated GlobalISel Combine Rules
Hi All, I've more or less finished updating the examples to the DAG style we were talking about. Hopefully I haven't forgotten anything, there was a lot to keep track of :-). Overall, I think there's a couple places where things get a a little awkward (mainly debug info) but things generally look good to me. A Simple Example def : GICombineRule<(defs reg:$D, reg:$S),