Patch to switch optional reloads off

Message ID
State New
Headers show

Commit Message

Vladimir Makarov July 11, 2013, 2:12 a.m.
I got three PRs about optional reloads patch which I committed to the 
trunk on Friday.

Sorry, I can not work on these PRs this week.  So I decided to switch 
optional reloads off temporarily.  I'll return to the PRs next week.

The patch was successfully bootstrapped on x86-64.

Committed as rev. 200899.

2013-07-10  Vladimir Makarov  <>

         * lra-constraints.c (curr_insn_transform): Switch off optional


Index: lra-constraints.c
--- lra-constraints.c	(revision 200896)
+++ lra-constraints.c	(working copy)
@@ -3211,7 +3211,7 @@  curr_insn_transform (void)
 	     reg, we might improve the code through inheritance.  If
 	     it does not get a hard register we coalesce memory/memory
 	     moves later.  Ignore move insns to avoid cycling.  */
-	  if (! lra_simple_p
+	  if (0 && ! lra_simple_p
 	      && lra_undo_inheritance_iter < LRA_MAX_INHERITANCE_PASSES
 	      && goal_alt[i] != NO_REGS && REG_P (op)
 	      && (regno = REGNO (op)) >= FIRST_PSEUDO_REGISTER