Re: [PATCH]middle-end: don't create LC-SSA PHI variables for PHI nodes who dominate loop

2023-10-19 Thread Richard Biener
On Thu, 19 Oct 2023, Tamar Christina wrote: > Hi All, > > As the testcase shows, when a PHI node dominates the loop there is no new > definition inside the loop. As such there would be no PHI nodes to update. > > When we maintain LCSSA form we create an intermediate node in between the two > lo

[PATCH]middle-end: don't create LC-SSA PHI variables for PHI nodes who dominate loop

2023-10-19 Thread Tamar Christina
Hi All, As the testcase shows, when a PHI node dominates the loop there is no new definition inside the loop. As such there would be no PHI nodes to update. When we maintain LCSSA form we create an intermediate node in between the two loops to thread alongt the value. However later on when we u