Re: [PATCH V3 3/7] ira: Support subreg live range track

2023-11-14 Thread Vladimir Makarov
On 11/12/23 07:08, Lehua Ding wrote: gcc/ChangeLog: * hard-reg-set.h (struct HARD_REG_SET): New shift operator. * ira-build.cc (ira_create_object): Adjust. (find_object): New. (find_object_anyway): New. (ira_create_allocno): Adjust. (get_range):

[PATCH V3 3/7] ira: Support subreg live range track

2023-11-12 Thread Lehua Ding
This patch supports tracking subreg liveness. It first extends ira_object_t objects[2] to std::vector objects, which can hold more than one object, and is used to collect all access via subreg in program and the partial_in and partial_out of the basic block live in/out. Then there is a