From: Iain Sandoe Date: Wed, 7 Feb 2018 23:42:51 +0000 (+0000) Subject: altivec.md (*restore_world): Remove LR use. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11e887c45a6a1c708016a08c8aeeae03b30a007b;p=gcc.git 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 --- 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;