Displaying 3 results from an estimated 3 matches for "valuetypeact".
2009 Feb 07
1
[LLVMdev] Patch: More data types
...promote to a power-of-two size, then expand if
necessary.
return VT == VT.getRoundIntegerType() ? Expand : Promote;
assert(0 && "Unsupported extended type!");
return Legal;
}
unsigned I = VT.getSimpleVT();
assert(I<4*array_lengthof(ValueTypeActions)*sizeof(ValueTypeActions[0]))
;
return (LegalizeAction)((ValueTypeActions[I>>4] >> ((2*I) & 31)) &
3);
}
void setTypeAction(MVT VT, LegalizeAction Action) {
unsigned I = VT.getSimpleVT();
assert(I<4*array_lengthof(ValueTypeActions)*sizeof(ValueTypeA...
2016 Dec 15
2
TableGen - Help to implement a form of gather/scatter operations for Mips MSA
...vectors, since my processor does
not have physical 64-bist registers. To achieve this I made
ConnexTargetMachine::computeDataLayout() return string
"e-m:e-p:16:16-i32:32:32-i64:64-n32:32-S128". I also gave at the end of
ConnexTargetLowering::ConnexTargetLowering() the following:
ValueTypeActions.setTypeAction(MVT::i16, TypeLegal);
to avoid errors like:
Promote integer operand: t16: ch = store<ST256[inttoptr (i16 250 to <128 x i16>*)]>
t13:1, t13, Constant:i16<250>, undef:i16
But even now it gives errors like:
ISEL: Starting pattern match on root n...
2016 Dec 12
0
TableGen - Help to implement a form of gather/scatter operations for Mips MSA
Hello.
I wanted to inform that I fixed the bug from the previous email.
The main reason for the bug was that I thought that the SDNode masked_gather is
returning only 1 value, but it returns 2 (hence, I guess, the earlier reported, difficult
to follow, error: "Assertion `New->getNumTypes() == 1").
masked_gather returns 2 values because:
// SDTypeProfile -