aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-05-05 11:00:09 +0200
committerRichard Biener <rguenther@suse.de>2020-05-05 12:35:05 +0200
commit0424a5ece5307cc22bbc0fe97edf4707d7a798ed (patch)
tree8aa71eb224c9168fd0e7165b7256c4359f848e52 /gcc/tree-ssa-structalias.c
parent1bd3a8af85356e64ec27309dba7fb2fca2343ffe (diff)
downloadgcc-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 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions