diff options
author | Richard Biener <rguenther@suse.de> | 2020-05-05 11:00:09 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-05-05 12:35:05 +0200 |
commit | 0424a5ece5307cc22bbc0fe97edf4707d7a798ed (patch) | |
tree | 8aa71eb224c9168fd0e7165b7256c4359f848e52 /libvtv | |
parent | 1bd3a8af85356e64ec27309dba7fb2fca2343ffe (diff) | |
download | gcc-0424a5ece5307cc22bbc0fe97edf4707d7a798ed.zip gcc-0424a5ece5307cc22bbc0fe97edf4707d7a798ed.tar.gz gcc-0424a5ece5307cc22bbc0fe97edf4707d7a798ed.tar.bz2 |
tree-optimization/94949 - fix load eliding in SM
This fixes the case of not using the multithreaded model when
only conditionally storing to the destination. We cannot elide
the load in this case.
2020-05-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/94949
* tree-ssa-loop-im.c (execute_sm): Check whether we use
the multithreaded model or always compute the stored value
before eliding a load.
* gcc.dg/torture/pr94949.c: New testcase.
Diffstat (limited to 'libvtv')
0 files changed, 0 insertions, 0 deletions