Displaying 2 results from an estimated 2 matches for "matchroot".
2018 Nov 12
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...a particularly bad choice on combines like the extending loads since that's trying to match all uses simultaneously and those uses could have any opcode.
>
> How about having it as a lettable variable? As in (using my favorite syntax, but it should translate either way):
>
> let MatchRoot = "$tmp" in
> def : GICombineRule<
> (match (G_LOAD $tmp, $ptr),
> (G_SEXT $dst, $tmp)),
> (apply (G_SEXTLOAD $dst, $ptr))>;
>
> I'm using $tmp instead of $ptr as the root here since you wrote above that it needs to be a Def.
>
>...
2018 Nov 10
3
[RFC] Tablegen-erated GlobalISel Combine Rules
Thanks Nicolai!
> On Nov 9, 2018, at 02:55, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
>
> Hi Daniel,
>
> Lots of good stuff in there! I especially like the design for specifying out-of-line predicates. I have a couple of small comments and one major one below.
>
>
> On 09.11.18 02:42, Daniel Sanders via llvm-dev wrote:
>> _Passing arbitrary data from