On Thu, Jun 26, 2014 at 11:43 AM, Richard Biener
wrote:
> On Thu, Jun 26, 2014 at 10:11 AM, Prathamesh Kulkarni
> wrote:
>> This patch factors expression checking for GIMPLE.
>>
>> Generates code as:
>> if (TREE_CODE (opname) == SSA_NAME)
>> {
>> gimple def_stmt = SSA_NAME_DEF_STMT (opname);
>>
On Thu, Jun 26, 2014 at 10:11 AM, Prathamesh Kulkarni
wrote:
> This patch factors expression checking for GIMPLE.
>
> Generates code as:
> if (TREE_CODE (opname) == SSA_NAME)
> {
> gimple def_stmt = SSA_NAME_DEF_STMT (opname);
> if (is_gimple_assign (def_stmt))
> {
> if (gimple_assign_rh
This patch factors expression checking for GIMPLE.
Generates code as:
if (TREE_CODE (opname) == SSA_NAME)
{
gimple def_stmt = SSA_NAME_DEF_STMT (opname);
if (is_gimple_assign (def_stmt))
{
if (gimple_assign_rhs_code (def_stmt) == )
{
}
if (gimple_assign_rhs_