diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-05-17 16:46:02 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-17 16:46:02 +0000 |
| commit | e32b9b854e5b92b223c553164d3ecfbf657dbbf2 (patch) | |
| tree | 03d2083ed529c95d90e2f7e85fb119b50bdbc365 /lib/CodeGen/TargetInfo.cpp | |
| parent | 5ea68614bfe0e78b5d66339b781529038f86501f (diff) | |
| download | clang-e32b9b854e5b92b223c553164d3ecfbf657dbbf2.tar.gz clang-e32b9b854e5b92b223c553164d3ecfbf657dbbf2.tar.bz2 clang-e32b9b854e5b92b223c553164d3ecfbf657dbbf2.tar.xz | |
IRgen: Remove dead function.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
| -rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index e6c7640252..89baa7d02a 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -253,23 +253,6 @@ static bool canExpandIndirectArgument(QualType Ty, ASTContext &Context) { return true; } -static bool typeContainsSSEVector(const RecordDecl *RD, ASTContext &Context) { - for (RecordDecl::field_iterator i = RD->field_begin(), e = RD->field_end(); - i != e; ++i) { - const FieldDecl *FD = *i; - - if (FD->getType()->isVectorType() && - Context.getTypeSize(FD->getType()) >= 128) - return true; - - if (const RecordType* RT = FD->getType()->getAs<RecordType>()) - if (typeContainsSSEVector(RT->getDecl(), Context)) - return true; - } - - return false; -} - namespace { /// DefaultABIInfo - The default implementation for ABI specific /// details. This implementation provides information which results in |
