Skip to content
Snippets Groups Projects
Commit 081c9662 authored by Vladimir N. Makarov's avatar Vladimir N. Makarov
Browse files

[PR97684] IRA: Recalculate pseudo classes if we added new pseduos since last...

[PR97684] IRA: Recalculate pseudo classes if we added new pseduos since last calculation before updating equiv regs

update_equiv_regs can use reg classes of pseudos and they are set up in
register pressure sensitive scheduling and loop invariant motion and in
live range shrinking.  This info can become obsolete if we add new pseudos
since the last set up.  Recalculate it again if the new pseudos were
added.

gcc/ChangeLog:

	PR rtl-optimization/97684
	* ira.c (ira): Call ira_set_pseudo_classes before
	update_equiv_regs when it is necessary.

gcc/testsuite/ChangeLog:

	PR rtl-optimization/97684
	* gcc.target/i386/pr97684.c: New.
parent 9cd7c325
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment