[llvm-commits] [llvm-gcc-4.2] r60097 - /llvm-gcc-4.2/trunk/gcc/config/i386/predicates.md
Bill Wendling
isanbard at gmail.com
Tue Nov 25 23:16:02 PST 2008
Author: void
Date: Wed Nov 26 01:16:02 2008
New Revision: 60097
URL: http://llvm.org/viewvc/llvm-project?rev=60097&view=rev
Log:
Revert this back to the old behavior if TARGET_FIX_AND_CONTINUE isn't #defined.
This may not be correct, but should help non-Darwin platforms work.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/predicates.md
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/predicates.md
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/predicates.md?rev=60097&r1=60096&r2=60097&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/predicates.md (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/predicates.md Wed Nov 26 01:16:02 2008
@@ -467,9 +467,13 @@
/* APPLE LOCAL begin fix-and-continue 6358507 */
if (SYMBOL_REF_LOCAL_P (op))
{
+/* LLVM LOCAL begin non-Darwin hack. */
+#ifdef TARGET_FIX_AND_CONTINUE
if (!TARGET_FIX_AND_CONTINUE
- || machopic_data_defined_p (op))
- return 1;
+ || machopic_data_defined_p (op))
+#endif
+/* LLVM LOCAL end non-Darwin hack */
+ return 1;
}
/* APPLE LOCAL end fix-and-continue 6358507 */
More information about the llvm-commits
mailing list