From b3411d7e5f70830af45d9a3dd72d288af93b95d0 Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Thu, 20 Mar 2003 23:02:54 +0000 Subject: 2003-03-20 Daniel Berlin Merge changes from new-regalloc-branch From Michael Matz * df.c (df_ref_record_1): Move init of loc to safe point. Only recurse on interesting things in parallels. Handle CLASS_CANNOT_CHANGE_MODE smarter. (df_uses_record): Ditto. * df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which it's already okay to use memory operands in (IE doesn't require adding another insn or anything). From-SVN: r64629 --- gcc/df.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc/df.h') diff --git a/gcc/df.h b/gcc/df.h index 2191ab5..fa8aab4 100644 --- a/gcc/df.h +++ b/gcc/df.h @@ -63,7 +63,12 @@ enum df_ref_flags /* This flag is set, if we stripped the subreg from the reference. In this case we must make conservative guesses, at what the outer mode was. */ - DF_REF_STRIPPED = 4 + DF_REF_STRIPPED = 4, + + /* This flag is set during register allocation if it's okay for + the reference's INSN to have one of its operands replaced with a + memory reference. */ + DF_REF_MEM_OK = 8 }; -- cgit v1.1