Displaying 1 result from an estimated 1 matches for "srcbitsize".
2010 Jul 13
1
[LLVMdev] The question of sext instruction implementation
...equal to the bit size of TYPE. Both types must be
integers.
But in the code of llvm-2.6, the judge condition just allow smaller to
the bit size of TYPE as the following :
case Instruction::SExt:
return SrcTy->isIntOrIntVector() &&
DstTy->isIntOrIntVector()&& SrcBitSize < DstBitSize;
So I feel confused the difference about the documentation and implementation.
Thanks
MK
----------------------------------------
www.skyeye.org