Commit d10cddea by Michael Meissner

Fix PR 93568 (thinko)

2020-02-05  Michael Meissner  <meissner@linux.ibm.com>

	PR target/93568
	* config/rs6000/rs6000.c (get_vector_offset): Fix
parent 44334e03
2020-02-05 Michael Meissner <meissner@linux.ibm.com>
PR target/93568
* config/rs6000/rs6000.c (get_vector_offset): Fix
2020-02-05 Andrew Stubbs <ams@codesourcery.com> 2020-02-05 Andrew Stubbs <ams@codesourcery.com>
* config/gcn/t-gcn-hsa (MULTILIB_OPTIONS): Use / not space. * config/gcn/t-gcn-hsa (MULTILIB_OPTIONS): Use / not space.
......
...@@ -6744,8 +6744,7 @@ get_vector_offset (rtx mem, rtx element, rtx base_tmp, unsigned scalar_size) ...@@ -6744,8 +6744,7 @@ get_vector_offset (rtx mem, rtx element, rtx base_tmp, unsigned scalar_size)
/* All insns should use the 'Q' constraint (address is a single register) if /* All insns should use the 'Q' constraint (address is a single register) if
the element number is not a constant. */ the element number is not a constant. */
rtx addr = XEXP (mem, 0); gcc_assert (satisfies_constraint_Q (mem));
gcc_assert (satisfies_constraint_Q (addr));
/* Mask the element to make sure the element number is between 0 and the /* Mask the element to make sure the element number is between 0 and the
maximum number of elements - 1 so that we don't generate an address maximum number of elements - 1 so that we don't generate an address
......
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