mirror of git://gcc.gnu.org/git/gcc.git
Partially reverted: 2013-05-31 Tobias Burnus <burnus@net-b.de>
2013-06-01 Tobias Burnus <burnus@net-b.de>
Partially reverted:
2013-05-31 Tobias Burnus <burnus@net-b.de>
PR middle-end/57073
* tree-ssa-math-opts.c (execute_cse_sincos): Move check
further up.
From-SVN: r199575
This commit is contained in:
parent
4596d4bfc7
commit
daf4e94043
|
|
@ -1,3 +1,12 @@
|
||||||
|
2013-06-01 Tobias Burnus <burnus@net-b.de>
|
||||||
|
|
||||||
|
Partially reverted:
|
||||||
|
2013-05-31 Tobias Burnus <burnus@net-b.de>
|
||||||
|
|
||||||
|
PR middle-end/57073
|
||||||
|
* tree-ssa-math-opts.c (execute_cse_sincos): Move check
|
||||||
|
further up.
|
||||||
|
|
||||||
2013-05-31 Dinar Temirbulatov <dinar@kugelworks.com>
|
2013-05-31 Dinar Temirbulatov <dinar@kugelworks.com>
|
||||||
|
|
||||||
PR rtl-optimization/57268
|
PR rtl-optimization/57268
|
||||||
|
|
|
||||||
|
|
@ -1447,9 +1447,6 @@ execute_cse_sincos (void)
|
||||||
arg1 = gimple_call_arg (stmt, 1);
|
arg1 = gimple_call_arg (stmt, 1);
|
||||||
loc = gimple_location (stmt);
|
loc = gimple_location (stmt);
|
||||||
|
|
||||||
if (!host_integerp (arg1, 0))
|
|
||||||
break;
|
|
||||||
|
|
||||||
if (real_minus_onep (arg0))
|
if (real_minus_onep (arg0))
|
||||||
{
|
{
|
||||||
tree t0, t1, cond, one, minus_one;
|
tree t0, t1, cond, one, minus_one;
|
||||||
|
|
@ -1477,6 +1474,9 @@ execute_cse_sincos (void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (!host_integerp (arg1, 0))
|
||||||
|
break;
|
||||||
|
|
||||||
n = TREE_INT_CST_LOW (arg1);
|
n = TREE_INT_CST_LOW (arg1);
|
||||||
result = gimple_expand_builtin_powi (&gsi, loc, arg0, n);
|
result = gimple_expand_builtin_powi (&gsi, loc, arg0, n);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue