Displaying 3 results from an estimated 3 matches for "afterlegalizetyp".
Did you mean:
afterlegalizetypes
2012 Feb 07
3
[LLVMdev] DAG optimization and lowering algorithm
Hi,
I'm trying to build code for very short function and I encounter with a problem (or bug) in DAG selection algotithm.
I have a node that was created in Combine(BeforeLegalizeTypes) and should be optimized in Combine(AfterLegalizeTypes). But LegalizeTypes() did not change anything and Combine(AfterLegalizeTypes) was not called.
Vector legalization that comes afterwards just scalarized the operation.
SelectionDAGISel::CodeGenAndEmitDAG()
..
CurDAG->Combine(BeforeLegalizeTypes, *AA, OptLevel);
bool Changed;
Changed...
2012 Feb 07
0
[LLVMdev] DAG optimization and lowering algorithm
...sky, Elena
<elena.demikhovsky at intel.com> wrote:
> Hi,
>
> I'm trying to build code for very short function and I encounter with a problem (or bug) in DAG selection algotithm.
> I have a node that was created in Combine(BeforeLegalizeTypes) and should be optimized in Combine(AfterLegalizeTypes). But LegalizeTypes() did not change anything and Combine(AfterLegalizeTypes) was not called.
> Vector legalization that comes afterwards just scalarized the operation.
>
> SelectionDAGISel::CodeGenAndEmitDAG()
> ..
> CurDAG->Combine(BeforeLegalizeTypes, *AA, OptLevel);
>
&...
2012 Feb 07
2
[LLVMdev] DAG optimization and lowering algorithm
At the beginning, I have the following chain: LOAD -> TRUNCATE -> ZERO_EXTEND.
After Combine(BeforeLegalizeTypes) the optimization of ZERO_EXTEND gives me the new chain LOAD -> ANY_EXTEND -> AND.
I want to optimize ANY_EXTEND but is not analyzed in the same Combine().
Combine(AfterLegalizeTypes) is no called at all.
- Elena
-----Original Message-----
From: Eli Friedman [mailto:eli.friedman at gmail.com]
Sent: Tuesday, February 07, 2012 10:15
To: Demikhovsky, Elena
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] DAG optimization and lowering algorithm
On Mon, Feb 6, 2012 at 11:54...