[llvm-commits] [llvm-gcc-4.2] r50450 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.c

Devang Patel dpatel at apple.com
Tue Apr 29 15:42:07 PDT 2008


Author: dpatel
Date: Tue Apr 29 17:42:07 2008
New Revision: 50450

URL: http://llvm.org/viewvc/llvm-project?rev=50450&view=rev
Log:
This is no long necessary.
Move from Tak to mainline.

Modified:
    llvm-gcc-4.2/trunk/gcc/config/i386/i386.c

Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/i386.c?rev=50450&r1=50449&r2=50450&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/i386.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/i386.c Tue Apr 29 17:42:07 2008
@@ -4302,14 +4302,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