[llvm-commits] [llvm-gcc-4.2] r55709 - /llvm-gcc-4.2/trunk/gcc/postreload-gcse.c

Bill Wendling isanbard at gmail.com
Wed Sep 3 11:14:46 PDT 2008


Author: void
Date: Wed Sep  3 13:14:46 2008
New Revision: 55709

URL: http://llvm.org/viewvc/llvm-project?rev=55709&view=rev
Log:
Only use flag_darwin_rtl_pre_ignore_critical_edges on Darwin platforms

Modified:
    llvm-gcc-4.2/trunk/gcc/postreload-gcse.c

Modified: llvm-gcc-4.2/trunk/gcc/postreload-gcse.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/postreload-gcse.c?rev=55709&r1=55708&r2=55709&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/postreload-gcse.c (original)
+++ llvm-gcc-4.2/trunk/gcc/postreload-gcse.c Wed Sep  3 13:14:46 2008
@@ -1119,7 +1119,8 @@
     }
 
   /* APPLE LOCAL begin 5971844 */
-#ifdef TARGET_MACHO
+  /* LLVM LOCAL - Only use if on Darwin platforms */
+#if defined(TARGET_MACHO) && defined(CONFIG_DARWIN_H)
   if (flag_darwin_rtl_pre_ignore_critical_edges)
     critical_edge_split = false;
 #endif





More information about the llvm-commits mailing list