Displaying 20 results from an estimated 25 matches for "g_constants".
Did you mean:
g_constant
2019 May 20
2
GlobalISel: Very limited pattern matching?
> On May 20, 2019, at 10:04, Quentin Colombet <qcolombet at apple.com> wrote:
>
> +gisel folks
>
> Hi Alex,
>
> You’re doing the right thing.
> That’s a known limitation that we’ve discussed in https://reviews.llvm.org/D59227 <https://reviews.llvm.org/D59227> but we didn’t really reach a conclusion back them.
> Short term, I believe you’re right, we should
2019 May 20
3
GlobalISel: Very limited pattern matching?
Hi all,
I'm trying to get GlobalISel up and running on an off-tree
architecture and am thinking I must be doing something wrong, given by
how few things actually work.
Namely, any ImmLeaf pattern will fail to match if there is a
(TRUNC/ZEXT/SEXT) applied to the constant operand, all of which are
commonly created through Legalization. This is due to G_CONSTANT being
explicitly looked for by
2018 Nov 12
3
[RFC] Tablegen-erated GlobalISel Combine Rules
> On Nov 10, 2018, at 03:28, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
>
> Thank you for the detailed reply! There's a lot to digest :) Let me try to address most of it.
>
>
> [snip]
>>> I also think you should have 'ins' and 'outs' separately; after all, a predicate may have to do a combined check on two matched registers / operands,
2018 Jul 30
9
GlobalISel design update and goals
Hi all,
Over the past few months we’ve been doing work on the foundations for the next stages of GlobalISel development. In terms of changes from this time last year, the IR translator, the legalizer, and instruction selector have seen moderate to major changes. The most significant of these was the change to the legalizer API, allowing targets to use predicates to express legality, which gives
2018 Jan 02
0
Canonical way to handle zero registers?
Hi Sean,
Just to give the GlobalISel perspective on this, GlobalISel supports the declaration of a zero register in the register class like so:
def GPR32z : RegisterOperand<GPR32> {
let GIZeroRegister = WZR;
}
With that definition, the tablegen-erated ISel code will try to replace will try to replace 'G_CONSTANT s32 0' with WZR whenever the operand is specified as GPR32z.
>
2018 Jan 04
2
Canonical way to handle zero registers?
On Tue, Jan 2, 2018 at 8:28 AM, Daniel Sanders <daniel_l_sanders at apple.com>
wrote:
> Hi Sean,
>
> Just to give the GlobalISel perspective on this,
Thanks for chiming in!
> GlobalISel supports the declaration of a zero register in the register
> class like so:
> def GPR32z : RegisterOperand<GPR32> {
> let GIZeroRegister = WZR;
>
2017 Jan 31
0
[GlobalISel] Questions about selection regions
On Tue, Jan 31, 2017 at 7:12 AM, Bekket McClane via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Hi,
> I've been studying the global instruction selector introduced recently. One
> of the properties of global instruction selectors is that they select
> instructions across basic blocks such that they can get more information in
> order to choose optimal patterns.
>
2017 Jan 31
2
[GlobalISel] Questions about selection regions
Hi,
I've been studying the global instruction selector introduced recently. One
of the properties of global instruction selectors is that they select
instructions across basic blocks such that they can get more information in
order to choose optimal patterns.
However, the current global isel implementation still iterates over BBs
within functions, which is same as the original SelectionDAG
2018 Jan 04
0
Canonical way to handle zero registers?
> On 3 Jan 2018, at 19:44, Sean Silva <chisophugis at gmail.com> wrote:
>
>
> On Tue, Jan 2, 2018 at 8:28 AM, Daniel Sanders <daniel_l_sanders at apple.com <mailto:daniel_l_sanders at apple.com>> wrote:
> Hi Sean,
>
> Just to give the GlobalISel perspective on this,
>
> Thanks for chiming in!
>
> GlobalISel supports the declaration of a zero
2019 Aug 23
2
Using [GlobalISel] to provide peephole optimizations
Hi,
GlobalISel is fantastic, but obviously lacks a lot of the transforms that
makes SelectionDAG so good. Whilst it's plenty usable, you'll find yourself
wanting/needing to add a lot of manual little transforms to clean things up.
I know of the RFC for a new Combiner with its own syntax
(https://reviews.llvm.org/D54286 is the latest I can find of it), but after
manually adding my Nth
2017 Dec 22
4
Canonical way to handle zero registers?
I looked around the codebase and didn't see anything that obviously looked
like the natural place to turn constant zero immediates into zero-registers
(i.e. registers that always return zero when read). Right now we are
expanding them in ISelLowering::LowerOperation but that seems too early.
The specific issue I'm hitting is that we have a register that reads as -1
and so when we replace
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
2018 Sep 21
2
[GlobalISel] Legalize generic instructions that also depend on type of scalar, not only scalar size
Hi,
Mips32 has 64 bit floating point instructions, while i64 instructions
have to be emulated with i32 instructions. This means that G_LOAD should
be custom legalized for s64 integer value, and be legal for s64 floating
point value. There are also other generic instructions with the same
problem: G_STORE, G_SELECT, G_EXTRACT, and G_INSERT.
There are also other configurations where integer
2020 Nov 17
1
[GlobalISel] Predicated TImmLeafs in patterns
Hi,
I'm trying to use predicated TImmLeafs in TableGen patterns with
GlobalISel to select intrinsics with immediate operands. While this is
working so far, contrary to ImmLeafs the predicate does not seem to get
checked. Is this not supported yet?
This is the pattern in question:
def tuimm9 : TImmLeaf<i32, [{ return isUInt<9>(Imm); }]>;
def : Pat<(int_target_foo
2019 Feb 06
2
[RFC] Enforcing immediate operands for intrinsics
> On Feb 5, 2019, at 6:55 PM, Krzysztof Parzyszek via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> There is something similar going on in clang in SemaChecking.cpp. The difference is that each target can write its own verification code, which may check things like value ranges, for example.
> The scheme you're proposing would invent a new attribute (a widespread change)
2020 Oct 08
2
GlobalISel round table follow up: register bank select
Hi Quentin,
thanks for picking up the conversation!
> I think we should step back and check what we want before investing
any time in some rewrite.
That is a very fair point and I might have been getting ahead of myself
in my last email.
What I would like to see from RegBankSelect is to produce the mapping
with the overall lowest cost. Keeping track of all different
combinations of
2020 Feb 08
2
[RFC] Extending shufflevector for vscale vectors (SVE etc.)
> -----Original Message-----
> From: Chris Lattner <clattner at nondot.org>
> Sent: Friday, February 7, 2020 3:00 PM
> To: Eli Friedman <efriedma at quicinc.com>
> Cc: llvm-dev <llvm-dev at lists.llvm.org>
> Subject: [EXT] Re: [llvm-dev] [RFC] Extending shufflevector for vscale vectors
> (SVE etc.)
>
> > On Feb 7, 2020, at 12:39 PM, Eli Friedman
2020 Oct 09
2
GlobalISel round table follow up: register bank select
Hi Quentin,
Am 08.10.20 um 21:17 schrieb Quentin Colombet:
> Hi Dominik,
>
>> On Oct 8, 2020, at 5:03 AM, Dominik Montada
>> <dominik.montada at hightec-rt.com
>> <mailto:dominik.montada at hightec-rt.com>> wrote:
>>
>> Hi Quentin,
>>
>> thanks for picking up the conversation!
>>
>> > I think we should step back and
2018 Jul 31
2
GlobalISel design update and goals
> On 30 Jul 2018, at 16:04, Quentin Colombet via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi Amara,
>
> Thanks for sharing the plan going forward.
>
> Inlined a couple of comments.
>
> 2018-07-30 7:01 GMT-07:00 Amara Emerson via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>>:
>> Hi all,
>>
>>
2018 Aug 03
2
GlobalISel design update and goals
> On 2 Aug 2018, at 14:50, Quentin Colombet <quentin.colombet at gmail.com> wrote:
>
> Hi Daniel,
>
> 2018-07-31 8:40 GMT-07:00 Daniel Sanders <daniel_l_sanders at apple.com>:
>>
>>
>> On 30 Jul 2018, at 16:04, Quentin Colombet via llvm-dev
>> <llvm-dev at lists.llvm.org> wrote:
>>
>> Hi Amara,
>>
>> Thanks for