Commit 11e887c4 by Iain Sandoe Committed by Mike Stump

altivec.md (*restore_world): Remove LR use.

2018-02-07  Iain Sandoe  <iain@codesourcery.com>

	* 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
parent 3f636462
2018-02-07 Iain Sandoe <iain@codesourcery.com>
* 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 <meissner@linux.vnet.ibm.com>
PR target/84154
......
......@@ -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"
......
......@@ -1295,13 +1295,12 @@
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment