diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-12-02 09:51:49 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-12-02 09:51:49 +0100 |
commit | a213ab38560f0b95ec318b2a4795e66cc0518848 (patch) | |
tree | 39451dd44a61601d97dcf6462ceede232af61ca9 /gcc/tree-vect-loop.c | |
parent | 9b14fc3326e087975653b1af8ac54114041cde51 (diff) | |
download | gcc-a213ab38560f0b95ec318b2a4795e66cc0518848.zip gcc-a213ab38560f0b95ec318b2a4795e66cc0518848.tar.gz gcc-a213ab38560f0b95ec318b2a4795e66cc0518848.tar.bz2 |
re PR tree-optimization/92712 (Performance regression with assumed values)
PR tree-optimization/92712
* match.pd ((A * B) +- A -> (B +- 1) * A,
A +- (A * B) -> (1 +- B) * A): Allow optimizing signed integers
even when we don't know anything about range of A, but do know
something about range of B and the simplification won't introduce
new UB.
* gcc.dg/tree-ssa/pr92712-1.c: New test.
* gcc.dg/tree-ssa/pr92712-2.c: New test.
* gcc.dg/tree-ssa/pr92712-3.c: New test.
* gfortran.dg/loop_versioning_1.f90: Adjust expected number of
likely to be innermost dimension messages.
* gfortran.dg/loop_versioning_10.f90: Likewise.
* gfortran.dg/loop_versioning_6.f90: Likewise.
From-SVN: r278894
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions