On 05/12/2017 05:27 AM, Bin Cheng wrote:
> Hi,
> This will be a patch series implementing an interface which estimates register
> pressure on tree ssa and uses the information in predictive common 
> optimization.
> This the first patch computing map from type modes to register pressure 
> classes.
> 
> Given there is no pseudo register on tree ssa form, we need type mode -> 
> register
> class information to compute register pressure.  This patch adds such map in
> struct target_ira and a function computing the map.  Though the map is 
> computed
> by guess, it's enough for use on tree level.  As a matter of fact, we only 
> need
> to identify GENERAL, FLOAT and VECTOR register classes.
> 
> Bootstrap and test on x86_64 and AArch64, is it OK?
> 
> Thanks,
> bin
> 
> 2017-05-10  Bin Cheng  <bin.ch...@arm.com>
> 
>       * ira.c (setup_mode_classes): New function.
>       (find_reg_classes): Call above function.
>       * ira.h (struct target_ira): New field x_ira_mode_classes.
>       (ira_mode_classes): New macro.
> 
OK.
jeff

Reply via email to