From 11e887c45a6a1c708016a08c8aeeae03b30a007b Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Wed, 7 Feb 2018 23:42:51 +0000 Subject: [PATCH] altivec.md (*restore_world): Remove LR use. 2018-02-07 Iain Sandoe * config/rs6000/altivec.md (*restore_world): Remove LR use. * config/rs6000/predicates.md (restore_world_operation): Adjust op count, remove one USE. From-SVN: r257472 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/altivec.md | 1 - gcc/config/rs6000/predicates.md | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 59e1f8fada8..a4f295eaa9f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-02-07 Iain Sandoe + + * config/rs6000/altivec.md (*restore_world): Remove LR use. + * config/rs6000/predicates.md (restore_world_operation): Adjust op + count, remove one USE. + 2018-02-07 Michael Meissner PR target/84154 diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md index 5c28b2d738a..a01a3c69239 100644 --- a/gcc/config/rs6000/altivec.md +++ b/gcc/config/rs6000/altivec.md @@ -419,7 +419,6 @@ (define_insn "*restore_world" [(match_parallel 0 "restore_world_operation" [(return) - (use (reg:SI LR_REGNO)) (use (match_operand:SI 1 "call_operand" "s")) (clobber (match_operand:SI 2 "gpc_reg_operand" "=r"))])] "TARGET_MACHO && (DEFAULT_ABI == ABI_DARWIN) && TARGET_32BIT" diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index b6d18f31072..f526b652bc9 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -1295,12 +1295,11 @@ rtx elt; int count = XVECLEN (op, 0); - if (count != 59) + if (count != 58) return 0; index = 0; if (GET_CODE (XVECEXP (op, 0, index++)) != RETURN - || GET_CODE (XVECEXP (op, 0, index++)) != USE || GET_CODE (XVECEXP (op, 0, index++)) != USE || GET_CODE (XVECEXP (op, 0, index++)) != CLOBBER) return 0; -- 2.30.2