[Bug tree-optimization/112706] missed simplification in FRE

2023-11-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112706 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/112706] missed simplification in FRE

2023-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112706 --- Comment #6 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d9abaa8d58f5729925b1db735d4723a9ea825eaa commit r14-5872-gd9abaa8d58f5729925b1db735d4723a9ea825eaa Author: Richard Biener Date:

[Bug tree-optimization/112706] missed simplification in FRE

2023-11-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112706 --- Comment #5 from Richard Biener --- As Andrew says (forwprop builds trees and feeds it fold-const.cc which eventually gets it).

[Bug tree-optimization/112706] missed simplification in FRE

2023-11-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112706 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Version|unknown

[Bug tree-optimization/112706] missed simplification in FRE

2023-11-24 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112706 --- Comment #3 from Jan Hubicka --- Thanks, new pattern looks like noticeable improvement :) Base+offset is effective for alias analysis and I suppose it happens reasonably enough for compares as well. > _76 = _71 + 4; > # .MEM_154 = VDEF <.

[Bug tree-optimization/112706] missed simplification in FRE

2023-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112706 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > That is: > ``` > (for op (eq ne) > (simplify > (op (pointer_plus @0 @1) (pointer_plus @0 @2)) > (op @1 @2)) > > ``` Note I am missing a extra `)` but the

[Bug tree-optimization/112706] missed simplification in FRE

2023-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112706 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-11-24 Component|middle-en