aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-08-13 06:01:30 +0000
committerBob Wilson <bob.wilson@apple.com>2009-08-13 06:01:30 +0000
commit628c99a8051b17b605fc489d11f3e49c5d8e6e67 (patch)
tree3992ce509df89955c39884899f0b1d7fc2908c23 /lib/Target
parent62255b5d072362c0f6d1fd7610ff51014ab44c3a (diff)
downloadexternal_llvm-628c99a8051b17b605fc489d11f3e49c5d8e6e67.zip
external_llvm-628c99a8051b17b605fc489d11f3e49c5d8e6e67.tar.gz
external_llvm-628c99a8051b17b605fc489d11f3e49c5d8e6e67.tar.bz2
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
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index 2307602..14cab09 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -2442,6 +2442,8 @@ static SDValue LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) {
// DAG nodes, instead of keeping them as shuffles and matching them again
// during code selection. This is more efficient and avoids the possibility
// 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))
return DAG.getNode(ARMISD::VREV64, dl, VT, SVN->getOperand(0));
if (isVREVMask(SVN, 32))