Re: [PATCH][v2] tree-optimization/115144 - improve sinking destination choice

2024-05-26 Thread Patrick O'Neill
; expected .MEM_106 > during GIMPLE pass: sink > /home/pli/gcc/111/riscv-gnu-toolchain/newlib/newlib/libc/include/stdlib.h:212:9: > internal compiler error: verify_ssa failed > > Pan > > > -Original Message- > From: Richard Biener > Sent: Friday, May 24, 2024

RE: [PATCH][v2] tree-optimization/115144 - improve sinking destination choice

2024-05-26 Thread Li, Pan2
Sent: Friday, May 24, 2024 7:01 PM To: gcc-patches@gcc.gnu.org Subject: [PATCH][v2] tree-optimization/115144 - improve sinking destination choice When sinking code closer to its uses we already try to minimize the distance we move by inserting at the start of the basic-block. The following make

[PATCH][v2] tree-optimization/115144 - improve sinking destination choice

2024-05-24 Thread Richard Biener
When sinking code closer to its uses we already try to minimize the distance we move by inserting at the start of the basic-block. The following makes sure to sink closest to the control dependence check of the region we want to sink to as well as make sure to ignore control dependences that are