diff options
| author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2014-07-30 00:44:03 +0000 |
|---|---|---|
| committer | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2014-07-30 00:44:03 +0000 |
| commit | b7c305f0914f3785efa643f1b68686fb098f3f6e (patch) | |
| tree | b2ba02c4edfa8966d05986579b72f472d5d1ab5c /llvm/lib/CodeGen | |
| parent | 5ad21fa696d213e0de3fb704d661befab126f30a (diff) | |
| download | bcm5719-llvm-b7c305f0914f3785efa643f1b68686fb098f3f6e.tar.gz bcm5719-llvm-b7c305f0914f3785efa643f1b68686fb098f3f6e.zip | |
Add support for scalarizing ctlz_zero_undef
Fix the missing case in ScalarizeVectorResult() that was exposed with
libclcore.bc in Android.
Differential Revision: http://reviews.llvm.org/D4645
llvm-svn: 214266
Diffstat (limited to 'llvm/lib/CodeGen')
| -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 34dbe706ad1..3b7f7968a7a 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp @@ -69,6 +69,7 @@ void DAGTypeLegalizer::ScalarizeVectorResult(SDNode *N, unsigned ResNo) { case ISD::ANY_EXTEND: case ISD::BSWAP: case ISD::CTLZ: + case ISD::CTLZ_ZERO_UNDEF: case ISD::CTPOP: case ISD::CTTZ: case ISD::FABS: |

