Re: Make it cheaper to test whether an SSA name is a virtual operand

2016-12-23 Thread Richard Biener
On December 23, 2016 6:47:37 PM GMT+01:00, Richard Sandiford wrote: >virtual_operand_p handled SSA names by looking at the flags of the >underlying variable. This seems to be a relatively common source >of cache misses, mainly because virtual_operand_p is the first thing >tested by is_gimple_reg

Make it cheaper to test whether an SSA name is a virtual operand

2016-12-23 Thread Richard Sandiford
virtual_operand_p handled SSA names by looking at the flags of the underlying variable. This seems to be a relatively common source of cache misses, mainly because virtual_operand_p is the first thing tested by is_gimple_reg. This patch caches the information in the SSA name itself. Several flag