re PR rtl-optimization/80358 (ICE (cc1 killed) building glib with -O3 on powerpc64le-linux-gnu)
2017-04-08 Aaron Sawdey <acsawdey@linux.vnet.ibm.com> PR target/80358 * config/rs6000/rs6000.c (expand_block_compare): Fix boundary check. From-SVN: r246784
This commit is contained in:
parent
38f540cb00
commit
27ba97a67a
@ -1,3 +1,8 @@
|
||||
2017-04-08 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
|
||||
|
||||
PR target/80358
|
||||
* config/rs6000/rs6000.c (expand_block_compare): Fix boundary check.
|
||||
|
||||
2017-04-07 Pat Haugen <pthaugen@us.ibm.com>
|
||||
|
||||
* rs6000/rs6000.c (vec_load_pendulum): Rename...
|
||||
|
@ -19672,8 +19672,9 @@ expand_block_compare (rtx operands[])
|
||||
unsigned int load_mode_size = GET_MODE_SIZE (load_mode);
|
||||
|
||||
/* We don't want to generate too much code. */
|
||||
if (ROUND_UP (bytes, load_mode_size) / load_mode_size
|
||||
> (unsigned HOST_WIDE_INT) rs6000_block_compare_inline_limit)
|
||||
unsigned HOST_WIDE_INT max_bytes =
|
||||
load_mode_size * (unsigned HOST_WIDE_INT) rs6000_block_compare_inline_limit;
|
||||
if (!IN_RANGE (bytes, 1, max_bytes))
|
||||
return false;
|
||||
|
||||
bool generate_6432_conversion = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user