summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-11-17 01:52:46 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-11-17 01:52:46 +0000
commit30834940ec087c216e577e076ac0849142936bd8 (patch)
tree3a405a4709893eb97b281d1f034c2bda131ef0ef /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
parent3e94f57a0fbbd87258578f2a4d8cccf93d289836 (diff)
downloadbcm5719-llvm-30834940ec087c216e577e076ac0849142936bd8.tar.gz
bcm5719-llvm-30834940ec087c216e577e076ac0849142936bd8.zip
Mark FP_EXTEND form v2f32 to v2f64 as "expand" for ARM NEON. Patch by Pete Couperus.
llvm-svn: 168240
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
index 3250133a673..d63862d6387 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
@@ -222,6 +222,7 @@ SDValue VectorLegalizer::LegalizeOp(SDValue Op) {
case ISD::FNEARBYINT:
case ISD::FFLOOR:
case ISD::FP_ROUND:
+ case ISD::FP_EXTEND:
case ISD::FMA:
case ISD::SIGN_EXTEND_INREG:
QueryType = Node->getValueType(0);
OpenPOWER on IntegriCloud