mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-01 12:24:24 +00:00
Add a fixme message about canonicalizing floating-point vector types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78897 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2442,6 +2442,8 @@ static SDValue LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) {
|
|||||||
// DAG nodes, instead of keeping them as shuffles and matching them again
|
// DAG nodes, instead of keeping them as shuffles and matching them again
|
||||||
// during code selection. This is more efficient and avoids the possibility
|
// during code selection. This is more efficient and avoids the possibility
|
||||||
// of inconsistencies between legalization and selection.
|
// of inconsistencies between legalization and selection.
|
||||||
|
// FIXME: floating-point vectors should be canonicalized to integer vectors
|
||||||
|
// of the same time so that they get CSEd properly.
|
||||||
if (isVREVMask(SVN, 64))
|
if (isVREVMask(SVN, 64))
|
||||||
return DAG.getNode(ARMISD::VREV64, dl, VT, SVN->getOperand(0));
|
return DAG.getNode(ARMISD::VREV64, dl, VT, SVN->getOperand(0));
|
||||||
if (isVREVMask(SVN, 32))
|
if (isVREVMask(SVN, 32))
|
||||||
|
Reference in New Issue
Block a user