Displaying 3 results from an estimated 3 matches for "ginst".
Did you mean:
inst
2018 Nov 10
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...the rest of TableGen. Consider combine rules defined in multiclasses, for example. That is very common all through LLVM. In order to mirror an existing selection rule in the AMDGPU backend, we'd likely want to have something like this:
>
> multiclass Arithmetic_i16_GIPats<Instruction ginst,
> Instruction inst> {
> // This is probably wishful thinking -- would be okay if we had to
> // split this into two different rules due to the different types
> // of $dst
> def : GICombineRule<
> (defs root:$dst, operand:$...
2018 Nov 12
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...eGen. Consider combine rules defined in multiclasses, for example. That is very common all through LLVM. In order to mirror an existing selection rule in the AMDGPU backend, we'd likely want to have something like this:
>>>
>>> multiclass Arithmetic_i16_GIPats<Instruction ginst,
>>> Instruction inst> {
>>> // This is probably wishful thinking -- would be okay if we had to
>>> // split this into two different rules due to the different types
>>> // of $dst
>>> def : GICombineRule&...
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.