[Bug tree-optimization/32073] Loop unrolling does not exploit VRP for loop bound

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32073 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/32073] Loop unrolling does not exploit VRP for loop bound

2021-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32073 --- Comment #2 from Andrew Pinski --- Note there is a few things here that can be improved even more. With a slightly different testcase: void short_loop(int* __restrict dest, int* __restrict src, int count) { // same happens for assert(count <

[Bug tree-optimization/32073] Loop unrolling does not exploit VRP for loop bound

2007-05-24 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-05-24 22:48 --- VRP information is not preserved over optimization passes, so loop unrolling does not know about it. But VRP recognizes that count is <= 4. -- rguenth at gcc dot gnu dot org changed: What|Removed