mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 03:00:27 +08:00
simplify-rtx.c (simplify_const_relational_operation): Only look at bounds of scalar integers.
* simplify-rtx.c (simplify_const_relational_operation): Only look at bounds of scalar integers. From-SVN: r84427
This commit is contained in:
parent
4c6a63ccbc
commit
04b80a8885
@ -1,3 +1,8 @@
|
||||
2004-07-09 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* simplify-rtx.c (simplify_const_relational_operation): Only
|
||||
look at bounds of scalar integers.
|
||||
|
||||
2004-07-09 Jan Beulich <jbeulich@novell.com>
|
||||
|
||||
* config/i386/i386.md (sse2_clflush): Use correct operand for clflush.
|
||||
|
@ -2974,7 +2974,7 @@ simplify_const_relational_operation (enum rtx_code code,
|
||||
else
|
||||
{
|
||||
/* Optimize comparisons with upper and lower bounds. */
|
||||
if (INTEGRAL_MODE_P (mode)
|
||||
if (SCALAR_INT_MODE_P (mode)
|
||||
&& GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT)
|
||||
{
|
||||
rtx mmin, mmax;
|
||||
|
Loading…
x
Reference in New Issue
Block a user