[llvm-commits] [llvm-gcc-4.2] r103313 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.h
Bill Wendling
isanbard at gmail.com
Fri May 7 15:44:17 PDT 2010
Author: void
Date: Fri May 7 17:44:16 2010
New Revision: 103313
URL: http://llvm.org/viewvc/llvm-project?rev=103313&view=rev
Log:
Revert change for <rdar://problem/6774781>. It was causing a mis-compile in a
library.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/i386.h
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/i386.h?rev=103313&r1=103312&r2=103313&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/i386.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/i386.h Fri May 7 17:44:16 2010
@@ -3931,6 +3931,12 @@
((REG_NAME) + (*(REG_NAME) == '%' ? 1 : 0))
/* Propagate code model setting to backend */
+/*
+ FIXME: (See <rdar://problem/7946145>) This option was mis-compiling a library.
+
+ if (TARGET_OMIT_LEAF_FRAME_POINTER)
+ argvec.push_back("--disable-non-leaf-fp-elim");
+*/
#define LLVM_SET_MACHINE_OPTIONS(argvec) \
switch (ix86_cmodel) { \
default: \
@@ -3950,9 +3956,7 @@
case CM_32: \
argvec.push_back("--code-model=default"); \
break; \
- } \
- if (TARGET_OMIT_LEAF_FRAME_POINTER) \
- argvec.push_back("--disable-non-leaf-fp-elim");
+ }
#endif /* ENABLE_LLVM */
/* LLVM LOCAL end */
More information about the llvm-commits
mailing list