I tried adding them in my backend however I run into the assertion
assert((unsigned)VT.SimpleTy < sizeof(LoadExtActions[0])*4 &&
ExtType < array_lengthof(LoadExtActions) &&
"Table isn't big enough!");
What does the assertion mean ?
thanks for all help!!
shrey
On Wed, Jul 14, 2010 at 6:56 PM, Eli Friedman <eli.friedman at gmail.com>
wrote:> On Wed, Jul 14, 2010 at 6:48 PM, shreyas krishnan <shreyas76 at
gmail.com> wrote:
>> Hi
>> I find types such as v16i32, v16f32 missing in my llvm version 2.7
>>
>> So does the following page not list them
>> http://llvm.org/docs/doxygen/html/classllvm_1_1MVT.html
>>
>> is that intentional for any reason or can I just add them ?
>
> As far as I know, they're not there simply because there isn't any
use
> for them in any current backend.
>
> -Eli
>
On Fri, Jul 16, 2010 at 5:14 PM, shreyas krishnan <shreyas76 at gmail.com> wrote:> I tried adding them in my backend however I run into the assertion > > assert((unsigned)VT.SimpleTy < sizeof(LoadExtActions[0])*4 && > ExtType < array_lengthof(LoadExtActions) && > "Table isn't big enough!"); > > What does the assertion mean ?That means you forgot to bump up LAST_VALUETYPE. -Eli
Thanks Eli ...I actually did that ..bumped it up by 2 that I had added. Any thing else that I might have done wrong ? I can see a different assert where it clearly depends on LAST_VALUETYPE assert((unsigned)VT.SimpleTy < MVT::LAST_VALUETYPE thanks shrey On Fri, Jul 16, 2010 at 5:20 PM, Eli Friedman <eli.friedman at gmail.com> wrote:> On Fri, Jul 16, 2010 at 5:14 PM, shreyas krishnan <shreyas76 at gmail.com> wrote: >> I tried adding them in my backend however I run into the assertion >> >> assert((unsigned)VT.SimpleTy < sizeof(LoadExtActions[0])*4 && >> ExtType < array_lengthof(LoadExtActions) && >> "Table isn't big enough!"); >> >> What does the assertion mean ? > > That means you forgot to bump up LAST_VALUETYPE. > > -Eli >