diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2020-09-01 13:47:44 -0500 |
---|---|---|
committer | Peter Bergner <bergner@linux.ibm.com> | 2020-09-01 13:49:40 -0500 |
commit | 8bc0f24d7a20d89383859907b875a26ce59dc6c8 (patch) | |
tree | 2dae8a0ae1ce5360567f9daa9f61be394c55385f /gcc/builtins.c | |
parent | b1850c617b14eedaf60b358f3b7d4707cff73b8a (diff) | |
download | gcc-8bc0f24d7a20d89383859907b875a26ce59dc6c8.zip gcc-8bc0f24d7a20d89383859907b875a26ce59dc6c8.tar.gz gcc-8bc0f24d7a20d89383859907b875a26ce59dc6c8.tar.bz2 |
rs6000: MMA built-in dies with incorrect sharing of tree nodes error
When we expand our MMA built-ins into gimple, we erroneously reused the
accumulator memory reference for both the source input value as well as
the destination output value. This led to a tree sharing error.
The solution is to create separate memory references for the input
and output values.
2020-09-01 Peter Bergner <bergner@linux.ibm.com>
gcc/
PR target/96808
* config/rs6000/rs6000-call.c (rs6000_gimple_fold_mma_builtin): Do not
reuse accumulator memory reference for source and destination accesses.
gcc/testsuite/
PR target/96808
* gcc.target/powerpc/pr96808.c: New test.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions