Re: [PATCH] Don't add unnecessary var self-conflicts (PR tree-optimization/86214)

2019-01-16 Thread Jeff Law
On 1/16/19 3:49 PM, Jakub Jelinek wrote: > Hi! > > While looking at this PR (I've just started) I've noticed that > add_stack_var_conflict is quite often called with x == y. > We don't really need to record that a variable conflicts with itself, > the only reader of the conflicts bitmaps, stack_va

[PATCH] Don't add unnecessary var self-conflicts (PR tree-optimization/86214)

2019-01-16 Thread Jakub Jelinek
Hi! While looking at this PR (I've just started) I've noticed that add_stack_var_conflict is quite often called with x == y. We don't really need to record that a variable conflicts with itself, the only reader of the conflicts bitmaps, stack_var_conflict_p, starts with if (x == y) return fa