summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2014-08-10 22:49:54 +0000
committerStephen Hines <srhines@google.com>2014-08-26 17:59:36 -0700
commitcddb0cfe383207ccec0cc797db401854e5f0c672 (patch)
tree05365f8aa7cc271ec765c9e2a0423542f235c99d /lib
parent63045274494a5adfedbd4de7280386948f7ca9b9 (diff)
downloadexternal_llvm-cddb0cfe383207ccec0cc797db401854e5f0c672.zip
external_llvm-cddb0cfe383207ccec0cc797db401854e5f0c672.tar.gz
external_llvm-cddb0cfe383207ccec0cc797db401854e5f0c672.tar.bz2
Add support for scalarizing cttz_zero_undef
Follow up to r214266. Add missing case in ScalarizeVectorResult() for cttz_zero_undef. Differential Revision: http://reviews.llvm.org/D4813 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
index dd98ffd..71240fc 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@ -72,6 +72,7 @@ void DAGTypeLegalizer::ScalarizeVectorResult(SDNode *N, unsigned ResNo) {
case ISD::CTLZ_ZERO_UNDEF:
case ISD::CTPOP:
case ISD::CTTZ:
+ case ISD::CTTZ_ZERO_UNDEF:
case ISD::FABS:
case ISD::FCEIL:
case ISD::FCOS: