[llvm-commits] [llvm-gcc-4.2] r50431 - /llvm-gcc-4.2/branches/Apple/Tak/gcc/config/i386/i386.c

Devang Patel dpatel at apple.com
Tue Apr 29 10:35:01 PDT 2008


Author: dpatel
Date: Tue Apr 29 12:35:01 2008
New Revision: 50431

URL: http://llvm.org/viewvc/llvm-project?rev=50431&view=rev
Log:
This is no long necessary.

Modified:
    llvm-gcc-4.2/branches/Apple/Tak/gcc/config/i386/i386.c

Modified: llvm-gcc-4.2/branches/Apple/Tak/gcc/config/i386/i386.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Tak/gcc/config/i386/i386.c?rev=50431&r1=50430&r2=50431&view=diff

==============================================================================
--- llvm-gcc-4.2/branches/Apple/Tak/gcc/config/i386/i386.c (original)
+++ llvm-gcc-4.2/branches/Apple/Tak/gcc/config/i386/i386.c Tue Apr 29 12:35:01 2008
@@ -4261,14 +4261,6 @@
   int needed_intregs, needed_sseregs, size;
   enum machine_mode mode = type_natural_mode (type);
 
-  /* LLVM LOCAL begin strcut return check */
-  /* FIXME without this, 64-bit _Complex long double crashes if not returned in 
-     memory.  With it, we just produce incorrect code. */
-  if (TARGET_64BIT && TREE_CODE(type) == COMPLEX_TYPE &&
-      TREE_INT_CST_LOW(TYPE_SIZE_UNIT(type)) > 8)
-    return 1;
-  /* LLVM LOCAL end strcut return check */
-
   if (TARGET_64BIT)
     return !examine_argument (mode, type, 1, &needed_intregs, &needed_sseregs);
 





More information about the llvm-commits mailing list