diff options
author | liuhongt <hongtao.liu@intel.com> | 2023-10-30 15:43:48 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2023-11-14 09:27:20 +0800 |
commit | fd1596f9962569afff6c9298a7c79686c6950bef (patch) | |
tree | 18107f8ed10d735b92106e8ef1aca52ce3127bb2 /gcc/tree-vect-loop.cc | |
parent | d22b87864e5d476535b75098e20f8d8fdaab4f8f (diff) | |
download | gcc-fd1596f9962569afff6c9298a7c79686c6950bef.zip gcc-fd1596f9962569afff6c9298a7c79686c6950bef.tar.gz gcc-fd1596f9962569afff6c9298a7c79686c6950bef.tar.bz2 |
Handle bitop with INTEGER_CST in analyze_and_compute_bitop_with_inv_effect.
analyze_and_compute_bitop_with_inv_effect assumes the first operand is
loop invariant which is not the case when it's INTEGER_CST.
gcc/ChangeLog:
PR tree-optimization/105735
PR tree-optimization/111972
* tree-scalar-evolution.cc
(analyze_and_compute_bitop_with_inv_effect): Handle bitop with
INTEGER_CST.
gcc/testsuite/ChangeLog:
* gcc.target/i386/pr105735-3.c: New test.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions