diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-08-13 06:01:30 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-08-13 06:01:30 +0000 |
commit | 3e4c012d541603aaf2ee15d3a2f151883fb55351 (patch) | |
tree | 5175126f5051c0939c2ff1f8f6c604fe08a036e1 /llvm/lib/Target/ARM/ARMISelLowering.cpp | |
parent | ef6e602bf445423fa05c31785d96bc6527129d5c (diff) | |
download | bcm5719-llvm-3e4c012d541603aaf2ee15d3a2f151883fb55351.tar.gz bcm5719-llvm-3e4c012d541603aaf2ee15d3a2f151883fb55351.zip |
Add a fixme message about canonicalizing floating-point vector types.
llvm-svn: 78897
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 2307602f471..14cab0986b9 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/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)) |