[llvm-commits] [llvm-gcc-4.2] r77998 - /llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
Bob Wilson
bob.wilson at apple.com
Mon Aug 3 14:18:56 PDT 2009
Author: bwilson
Date: Mon Aug 3 16:18:56 2009
New Revision: 77998
URL: http://llvm.org/viewvc/llvm-project?rev=77998&view=rev
Log:
Reenable default to Thumb for ARMv7, now that Thumb is working well enough
to build libgcc. (Radar 7113812)
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/arm.c?rev=77998&r1=77997&r2=77998&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/arm.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/arm.c Mon Aug 3 16:18:56 2009
@@ -1459,10 +1459,6 @@
/* APPLE LOCAL end ARM interworking */
}
-/* LLVM LOCAL */
-/* LLVM does not yet support Thumb2, so Thumb should not be enabled
- by default for llvm-gcc. */
-#ifndef ENABLE_LLVM
/* APPLE LOCAL begin 6150882 use thumb2 by default for v7 */
/* If we're compiling for v7, we should default to using thumb2
codegen. */
@@ -1470,8 +1466,6 @@
&& thumb_option < 0)
thumb_option = 1;
/* APPLE LOCAL end 6150882 use thumb2 by default for v7 */
-#endif
-/* LLVM LOCAL */
if (TARGET_THUMB && !(insn_flags & FL_THUMB))
{
More information about the llvm-commits
mailing list