Re: [PATCH]middle-end: prevent LIM from hoising vector compares from gconds if target does not support it.

2023-11-28 Thread Richard Biener
On Mon, 27 Nov 2023, Tamar Christina wrote: > Hi All, > > LIM notices that in some cases the condition and the results are loop > invariant and tries to move them out of the loop. > > While the resulting code is operationally sound, moving the compare out of the > gcond results in generating

[PATCH]middle-end: prevent LIM from hoising vector compares from gconds if target does not support it.

2023-11-27 Thread Tamar Christina
Hi All, LIM notices that in some cases the condition and the results are loop invariant and tries to move them out of the loop. While the resulting code is operationally sound, moving the compare out of the gcond results in generating code that no longer branches, so cbranch is no longer