Displaying 3 results from an estimated 3 matches for "mytgt_add".
2018 Nov 10
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...(G_SEXT $D1, $T1),
(G_SEXT $D2, $T2)]
and at that point, we're very nearly at MIR.
Another issue we didn't like with DAG is that you also end up needing a lot of pseudo-nodes like EXTRACT_SUBREG whereas these are natural parts of the MIR syntax. For example:
(set $d, (EXTRACT_SUBREG (MYTGT_ADD $A, $B), sub_lo))
compared to:
%d:sub_lo = MYTGT_ADD %A, %B
and:
(set $d, (REG_SEQUENCE GPR32, (MYTGT_ADD $A, $B), sub_lo, (MYTGT_ADD $C, $D), sub_hi))
compared to:
%d:sub_lo = MYTGT_ADD %A, %B
%d:sub_hi = MYTGT_ADD %C, %D
Along the same lines, I also think that the integrated debug-info is on...
2018 Nov 12
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...dag/sexpr from multiple pieces using !con, etc.).
That makes sense to me.
>> Another issue we didn't like with DAG is that you also end up needing a lot of pseudo-nodes like EXTRACT_SUBREG whereas these are natural parts of the MIR syntax. For example:
>> (set $d, (EXTRACT_SUBREG (MYTGT_ADD $A, $B), sub_lo))
>> compared to:
>> %d:sub_lo = MYTGT_ADD %A, %B
>> and:
>> (set $d, (REG_SEQUENCE GPR32, (MYTGT_ADD $A, $B), sub_lo, (MYTGT_ADD $C, $D), sub_hi))
>> compared to:
>> %d:sub_lo = MYTGT_ADD %A, %B
>> %d:sub_hi = MYTGT_ADD %C, %D
>
> Ho...
2018 Nov 09
5
[RFC] Tablegen-erated GlobalISel Combine Rules
Hi All,
I've been working on the GlobalISel combiner recently and I'd like to share the plan for how Combine Rules will be defined in GlobalISel and solicit feedback on it.
This email ended up rather long so:
TL;DR: We're planning to define GlobalISel Combine Rules using MIR syntax with a few bits glued on to interface with the algorithm and escape into C++ when we need to.