[cfe-commits] r103945 - /cfe/trunk/lib/CodeGen/TargetInfo.cpp

Daniel Dunbar daniel at zuster.org
Mon May 17 09:46:02 PDT 2010


Author: ddunbar
Date: Mon May 17 11:46:02 2010
New Revision: 103945

URL: http://llvm.org/viewvc/llvm-project?rev=103945&view=rev
Log:
IRgen: Remove dead function.

Modified:
    cfe/trunk/lib/CodeGen/TargetInfo.cpp

Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=103945&r1=103944&r2=103945&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Mon May 17 11:46:02 2010
@@ -253,23 +253,6 @@
   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





More information about the cfe-commits mailing list