On Tue, Nov 14, 2017 at 10:31 AM, Prathamesh Kulkarni
wrote:
> On 3 November 2017 at 15:38, Richard Biener
> wrote:
>> On Fri, Nov 3, 2017 at 6:15 AM, Prathamesh Kulkarni
>> wrote:
>>> Hi Martin,
>>> As mentioned in PR, the issue here for propagating value of 'm' from
>>> f_c1 to foo() is that
&dest_plats->itself,
param_type);
ret |= propagate_context_across_jump_function (cs, jump_func, i,
&dest_plats->ctxlat);
ret
diff --git a/gcc/testsuite/gcc.dg/ipa/pr82808.c
b/gcc/testsuite/gcc.dg/ipa/pr82
On Fri, Nov 3, 2017 at 6:15 AM, Prathamesh Kulkarni
wrote:
> Hi Martin,
> As mentioned in PR, the issue here for propagating value of 'm' from
> f_c1 to foo() is that the jump function operation is FLOAT_EXPR, and
> the type of input param 'm' is int, so fold_unary() doesn't do the
> conversion to
arm_type and
pass it to propagate_vals_across_pass_through.
(propagate_constants_across_call): Pass param_type to
propagate_scalar_across_jump_function.
testsuite/
* gcc.dg/ipa/pr82808.c: New test.
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
index 6b3d8d7364c..20328a4