search for: getvtaction

Displaying 5 results from an estimated 5 matches for "getvtaction".

2008 Oct 02
1
[LLVMdev] Type Legalizer Question.
...s at least some basic operations, like add, > >>> to > >>> be legal in legal register types. > >> > >> That sounds like a bug, not a feature. > >> -Chris > > > > The -enable-legalize-types infrastructure is entirely based upon > > getVTAction (), so it will be completely ignored once we have i16 > > regclass, > > I suspected that. But I wonder if that's going to be the approach or > is this something we want to change. > Even after VT is legal, is it possible to check if the target still wants the result of this...
2008 Oct 02
2
[LLVMdev] Type Legalizer Question.
...ot;expand". Would that work? > > > > Won't work; LLVM expects at least some basic operations, like add, to > > be legal in legal register types. > > That sounds like a bug, not a feature. > -Chris The -enable-legalize-types infrastructure is entirely based upon getVTAction (), so it will be completely ignored once we have i16 regclass, ditto with ExpandOp of LegalizeDAG. And LegalizeDAG::LegalizeOp() allows very few things to be auto expanded. -Sanjiv > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu...
2008 Oct 02
0
[LLVMdev] Type Legalizer Question.
...t;>> Won't work; LLVM expects at least some basic operations, like add, >>> to >>> be legal in legal register types. >> >> That sounds like a bug, not a feature. >> -Chris > > The -enable-legalize-types infrastructure is entirely based upon > getVTAction (), so it will be completely ignored once we have i16 > regclass, I suspected that. But I wonder if that's going to be the approach or is this something we want to change. > > ditto with ExpandOp of LegalizeDAG. > And LegalizeDAG::LegalizeOp() allows very few things to be auto...
2008 Oct 02
0
[LLVMdev] Type Legalizer Question.
On Oct 2, 2008, at 8:38 AM, Eli Friedman wrote: > On Thu, Oct 2, 2008 at 7:34 AM, Evan Cheng <evan.cheng at apple.com> > wrote: >> >> On Oct 2, 2008, at 2:01 AM, sanjiv gupta wrote: >> >>> >>>> >>>> So you have a i16 register class which makes the type legal. You >>>> can >>>> make loads and stores legal
2008 Oct 02
3
[LLVMdev] Type Legalizer Question.
On Thu, Oct 2, 2008 at 7:34 AM, Evan Cheng <evan.cheng at apple.com> wrote: > > On Oct 2, 2008, at 2:01 AM, sanjiv gupta wrote: > >> >>> >>> So you have a i16 register class which makes the type legal. You can >>> make loads and stores legal (can you?). But you will have to custom >>> lower all other i16 operations. This will work, but it