Displaying 1 result from an estimated 1 matches for "rightconsts".
Did you mean:
rightconst
2012 Apr 12
0
[LLVMdev] detection of constant diagonal matrix * vector
...SmallVector<int, 8> rightMask(numElements);
getIntVector(leftShuffle->getOperand(2), leftMask);
getIntVector(rightShuffle->getOperand(2), rightMask);
SmallVector<Constant*, 8> leftConsts;
SmallVector<Constant*, 8> rightConsts;
leftConstVector->getVectorElements(leftConsts);
rightConstVector->getVectorElements(rightConsts);
if (leftConsts.size() == numElements && rightConsts.size()
== numElements)
{
SmallVector<Constant*, 8> newShu...