Displaying 2 results from an estimated 2 matches for "opnty".
Did you mean:
op0ty
2006 Sep 20
1
[LLVMdev] using the constant pool during select
...e are
usually placed in a constant pool and loaded.
What I am trying to do is to have a select function that checks the if
a constant can be an immediate and, if it can't, produces a load:
---------------------------------------------------------------------------------------
const Type *OpNTy = MVT::getTypeForValueType(MVT::i32);
Constant *C = ConstantUInt::get(OpNTy, t);
int alignment = 2;
SDOperand Addr = CurDAG->getTargetConstantPool(C, MVT::i32, alignment);
Arg = CurDAG->getLoad(MVT::i32, CurDAG->getEntryNode(), Addr,
C...
2009 Nov 10
1
[LLVMdev] Altivec vs the type legalizer
Hi Dale, I think Bob is right: the type legalizer shouldn't be turning v16i8
into v16i32, what should happen is that the return type of the BUILD_VECTOR
continues to be v16i8, but the type of the operands changes to i32, so you
end up with a BUILD_VECTOR that takes 16 lots of i32, and produces a v16i8.
The target then has all the info it needs to produce the best code, but needs
to be careful