Re: [RFC/SCCVN] Handle BIT_INSERT_EXPR in vn_nary_op_eq

2017-07-21 Thread Andrew Pinski
On Wed, Jul 19, 2017 at 11:13 AM, Richard Biener wrote: > On July 19, 2017 6:10:28 PM GMT+02:00, Andrew Pinski > wrote: >>On Mon, Jul 17, 2017 at 3:02 AM, Richard Biener >> wrote: >>> On Thu, Jul 13, 2017 at 6:18 AM, Andrew Pinski >>wrote: On Wed, Jul 12, 2017 at 9:10 PM, Marc Glisse >>wr

Re: [RFC/SCCVN] Handle BIT_INSERT_EXPR in vn_nary_op_eq

2017-07-19 Thread Richard Biener
On July 19, 2017 6:10:28 PM GMT+02:00, Andrew Pinski wrote: >On Mon, Jul 17, 2017 at 3:02 AM, Richard Biener > wrote: >> On Thu, Jul 13, 2017 at 6:18 AM, Andrew Pinski >wrote: >>> On Wed, Jul 12, 2017 at 9:10 PM, Marc Glisse >wrote: On Wed, 12 Jul 2017, Andrew Pinski wrote: > Hi, >

Re: [RFC/SCCVN] Handle BIT_INSERT_EXPR in vn_nary_op_eq

2017-07-19 Thread Andrew Pinski
On Mon, Jul 17, 2017 at 3:02 AM, Richard Biener wrote: > On Thu, Jul 13, 2017 at 6:18 AM, Andrew Pinski wrote: >> On Wed, Jul 12, 2017 at 9:10 PM, Marc Glisse wrote: >>> On Wed, 12 Jul 2017, Andrew Pinski wrote: >>> Hi, Unlike most other expressions, BIT_INSERT_EXPR has an implicit >>

Re: [RFC/SCCVN] Handle BIT_INSERT_EXPR in vn_nary_op_eq

2017-07-17 Thread Richard Biener
On Thu, Jul 13, 2017 at 6:18 AM, Andrew Pinski wrote: > On Wed, Jul 12, 2017 at 9:10 PM, Marc Glisse wrote: >> On Wed, 12 Jul 2017, Andrew Pinski wrote: >> >>> Hi, >>> Unlike most other expressions, BIT_INSERT_EXPR has an implicit >>> operand of the precision/size of the second operand. This me

Re: [RFC/SCCVN] Handle BIT_INSERT_EXPR in vn_nary_op_eq

2017-07-12 Thread Andrew Pinski
On Wed, Jul 12, 2017 at 9:10 PM, Marc Glisse wrote: > On Wed, 12 Jul 2017, Andrew Pinski wrote: > >> Hi, >> Unlike most other expressions, BIT_INSERT_EXPR has an implicit >> operand of the precision/size of the second operand. This means if we >> have an integer constant for the second operand a

Re: [RFC/SCCVN] Handle BIT_INSERT_EXPR in vn_nary_op_eq

2017-07-12 Thread Marc Glisse
On Wed, 12 Jul 2017, Andrew Pinski wrote: Hi, Unlike most other expressions, BIT_INSERT_EXPR has an implicit operand of the precision/size of the second operand. This means if we have an integer constant for the second operand and that compares to the same constant value, vn_nary_op_eq would r

[RFC/SCCVN] Handle BIT_INSERT_EXPR in vn_nary_op_eq

2017-07-12 Thread Andrew Pinski
Hi, Unlike most other expressions, BIT_INSERT_EXPR has an implicit operand of the precision/size of the second operand. This means if we have an integer constant for the second operand and that compares to the same constant value, vn_nary_op_eq would return that these two expressions are the sam