|
| 1 | +2025-03-06 Alexey Merzlyakov < [email protected]> |
| 2 | + |
| 3 | + PR rtl-optimization/119099 |
| 4 | + * ext-dce.cc (ext_dce_rd_transfer_n): Do not allow the livein |
| 5 | + set to shrink. |
| 6 | + |
| 7 | +2025-03-06 Simon Martin < [email protected]> |
| 8 | + |
| 9 | + * config/i386/x86-tune-sched.cc (ix86_fuse_mov_alu_p): Fix |
| 10 | + comment typo, paramter -> parameter. |
| 11 | + * config/lm32/lm32.cc (lm32_std_gimplify_va_arg_expr): Likewise. |
| 12 | + |
| 13 | +2025-03-06 Wilco Dijkstra < [email protected]> |
| 14 | + |
| 15 | + PR target/118351 |
| 16 | + PR other/38768 |
| 17 | + * common/config/aarch64/aarch64-common.cc: Enable early scheduling with |
| 18 | + -O3 and higher. |
| 19 | + * doc/invoke.texi (-fschedule-insns): Update comment. |
| 20 | + |
| 21 | +2025-03-06 Richard Sandiford < [email protected]> |
| 22 | + |
| 23 | + Revert: |
| 24 | + 2025-03-06 Richard Sandiford < [email protected]> |
| 25 | + |
| 26 | + |
| 27 | + PR rtl-optimization/117477 |
| 28 | + * config/aarch64/aarch64.cc (aarch64_count_saves): New function. |
| 29 | + (aarch64_count_above_hard_fp_saves, aarch64_callee_save_cost) |
| 30 | + (aarch64_frame_allocation_cost): Likewise. |
| 31 | + (TARGET_CALLEE_SAVE_COST): Define. |
| 32 | + (TARGET_FRAME_ALLOCATION_COST): Likewise. |
| 33 | + * config/i386/i386.cc (ix86_ira_callee_saved_register_cost_scale): |
| 34 | + Replace with... |
| 35 | + (ix86_callee_save_cost): ...this new hook. |
| 36 | + (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete. |
| 37 | + (TARGET_CALLEE_SAVE_COST): Define. |
| 38 | + * target.h (spill_cost_type, frame_cost_type): New enums. |
| 39 | + * target.def (callee_save_cost, frame_allocation_cost): New hooks. |
| 40 | + (ira_callee_saved_register_cost_scale): Delete. |
| 41 | + * doc/tm.texi.in (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete. |
| 42 | + (TARGET_CALLEE_SAVE_COST, TARGET_FRAME_ALLOCATION_COST): New hooks. |
| 43 | + * doc/tm.texi: Regenerate. |
| 44 | + * hard-reg-set.h (hard_reg_set_popcount): New function. |
| 45 | + * ira-color.cc (allocated_memory_p): New variable. |
| 46 | + (allocated_callee_save_regs): Likewise. |
| 47 | + (record_allocation): New function. |
| 48 | + (assign_hard_reg): Use targetm.frame_allocation_cost to model |
| 49 | + the cost of the first spill or first caller save. Use |
| 50 | + targetm.callee_save_cost to model the cost of using new callee-saved |
| 51 | + registers. Apply the exit rather than entry frequency to the cost |
| 52 | + of restoring a register or deallocating the frame. Update the |
| 53 | + new variables above. |
| 54 | + (improve_allocation): Use record_allocation. |
| 55 | + (color): Initialize allocated_callee_save_regs. |
| 56 | + (ira_color): Initialize allocated_memory_p. |
| 57 | + * targhooks.h (default_callee_save_cost): Declare. |
| 58 | + (default_frame_allocation_cost): Likewise. |
| 59 | + * targhooks.cc (default_callee_save_cost): New function. |
| 60 | + (default_frame_allocation_cost): Likewise. |
| 61 | + |
| 62 | +2025-03-06 Richard Biener < [email protected]> |
| 63 | + |
| 64 | + PR lto/114501 |
| 65 | + * ipa-free-lang-data.cc (find_decls_types_r): Explicitly |
| 66 | + handle CONSTRUCTORs as walk_tree handling of those is |
| 67 | + incomplete. |
| 68 | + |
| 69 | +2025-03-06 Alex Coplan < [email protected]> |
| 70 | + |
| 71 | + PR rtl-optimization/114492 |
| 72 | + * pair-fusion.cc (pair_fusion_bb_info::fuse_pair): Check for singleton |
| 73 | + move range before calling restrict_movement. |
| 74 | + (pair_fusion::try_promote_writeback): Likewise. |
| 75 | + |
| 76 | +2025-03-06 Richard Sandiford < [email protected]> |
| 77 | + |
| 78 | + |
| 79 | + PR rtl-optimization/117477 |
| 80 | + * config/aarch64/aarch64.cc (aarch64_count_saves): New function. |
| 81 | + (aarch64_count_above_hard_fp_saves, aarch64_callee_save_cost) |
| 82 | + (aarch64_frame_allocation_cost): Likewise. |
| 83 | + (TARGET_CALLEE_SAVE_COST): Define. |
| 84 | + (TARGET_FRAME_ALLOCATION_COST): Likewise. |
| 85 | + * config/i386/i386.cc (ix86_ira_callee_saved_register_cost_scale): |
| 86 | + Replace with... |
| 87 | + (ix86_callee_save_cost): ...this new hook. |
| 88 | + (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete. |
| 89 | + (TARGET_CALLEE_SAVE_COST): Define. |
| 90 | + * target.h (spill_cost_type, frame_cost_type): New enums. |
| 91 | + * target.def (callee_save_cost, frame_allocation_cost): New hooks. |
| 92 | + (ira_callee_saved_register_cost_scale): Delete. |
| 93 | + * doc/tm.texi.in (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete. |
| 94 | + (TARGET_CALLEE_SAVE_COST, TARGET_FRAME_ALLOCATION_COST): New hooks. |
| 95 | + * doc/tm.texi: Regenerate. |
| 96 | + * hard-reg-set.h (hard_reg_set_popcount): New function. |
| 97 | + * ira-color.cc (allocated_memory_p): New variable. |
| 98 | + (allocated_callee_save_regs): Likewise. |
| 99 | + (record_allocation): New function. |
| 100 | + (assign_hard_reg): Use targetm.frame_allocation_cost to model |
| 101 | + the cost of the first spill or first caller save. Use |
| 102 | + targetm.callee_save_cost to model the cost of using new callee-saved |
| 103 | + registers. Apply the exit rather than entry frequency to the cost |
| 104 | + of restoring a register or deallocating the frame. Update the |
| 105 | + new variables above. |
| 106 | + (improve_allocation): Use record_allocation. |
| 107 | + (color): Initialize allocated_callee_save_regs. |
| 108 | + (ira_color): Initialize allocated_memory_p. |
| 109 | + * targhooks.h (default_callee_save_cost): Declare. |
| 110 | + (default_frame_allocation_cost): Likewise. |
| 111 | + * targhooks.cc (default_callee_save_cost): New function. |
| 112 | + (default_frame_allocation_cost): Likewise. |
| 113 | + |
| 114 | +2025-03-06 Richard Biener < [email protected]> |
| 115 | + |
| 116 | + PR middle-end/119119 |
| 117 | + * gimplify.cc (is_gimple_mem_rhs_or_call): All empty CTORs |
| 118 | + are OK when not a register type. |
| 119 | + |
1 | 120 | 2025-03-05 Hannes Braun < [email protected]>
|
2 | 121 |
|
3 | 122 | PR target/118942
|
|
0 commit comments