diff options
author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2014-08-10 22:49:54 +0000 |
---|---|---|
committer | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2014-08-10 22:49:54 +0000 |
commit | 3a908a0bfc00605e6d7cd51406fcfe03251f624f (patch) | |
tree | 4f91887f55b10b94bebce1e39a73be9d266f8dc3 /llvm/lib | |
parent | 399e99ae75832dd8179c00a167c1b0172bde0627 (diff) | |
download | bcm5719-llvm-3a908a0bfc00605e6d7cd51406fcfe03251f624f.tar.gz bcm5719-llvm-3a908a0bfc00605e6d7cd51406fcfe03251f624f.zip |
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
llvm-svn: 215330
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp index 9801781013a..8f4bce57a55 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp +++ b/llvm/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: |