diff options
author | Renlin Li <renlin.li@arm.com> | 2018-11-12 16:47:24 +0000 |
---|---|---|
committer | Renlin Li <renlin@gcc.gnu.org> | 2018-11-12 16:47:24 +0000 |
commit | e657564359c300bde7bcbba12e30b5e3f80f8c6c (patch) | |
tree | 4062e8bcf6db37a7a42f85411b47c89b727a2129 /gcc/tree-profile.c | |
parent | d5cc6de1be9d8fed0b810596efd467d6bee6aa03 (diff) | |
download | gcc-e657564359c300bde7bcbba12e30b5e3f80f8c6c.zip gcc-e657564359c300bde7bcbba12e30b5e3f80f8c6c.tar.gz gcc-e657564359c300bde7bcbba12e30b5e3f80f8c6c.tar.bz2 |
[PR87815]Don't generate shift sequence for load replacement in DSE when the mode size is not compile-time constant
The patch adds a check if the gap is compile-time constant.
This happens when dse decides to replace the load with previous store value.
The problem is that, shift sequence could not accept compile-time non-constant
mode operand.
gcc/
2018-11-12 Renlin Li <renlin.li@arm.com>
PR target/87815
* dse.c (get_stored_val): Add check for compile-time
constantness of gap.
gcc/testsuite/
2018-11-12 Renlin Li <renlin.li@arm.com>
PR target/87815
* gcc.target/aarch64/sve/pr87815.c: New.
From-SVN: r266033
Diffstat (limited to 'gcc/tree-profile.c')
0 files changed, 0 insertions, 0 deletions