diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-29 20:08:38 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-29 20:08:38 +0000 |
commit | 76f778fdb1dbbbe178237064d7acfac09648769a (patch) | |
tree | 638a6d05dbabed65d6bbb7a0bbaa7f1ae57c74e8 /gcc/recog.c | |
parent | 5b8e446439dd1a1c2fd17d6e9b979969598d255f (diff) | |
download | gcc-76f778fdb1dbbbe178237064d7acfac09648769a.tar.gz |
2013-11-29 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/59340
* lra.c (check_rtl): Use recog_memoized instead of insn_invalid_p.
Revert
2013-11-20 Robert Suchanek <Robert.Suchanek@imgtec.com>
* lra.c (lra): Set lra_in_progress before check_rtl call.
* recog.c (insn_invalid_p): Add !lra_in_progress to prevent
adding clobber regs when LRA is running.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205541 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.c')
-rw-r--r-- | gcc/recog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/recog.c b/gcc/recog.c index 5c0ec165bd1..7f597566770 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -315,8 +315,7 @@ insn_invalid_p (rtx insn, bool in_group) int icode = recog (pat, insn, (GET_CODE (pat) == SET && ! reload_completed - && ! reload_in_progress - && ! lra_in_progress) + && ! reload_in_progress) ? &num_clobbers : 0); int is_asm = icode < 0 && asm_noperands (PATTERN (insn)) >= 0; |