summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-02-22 20:06:40 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-02-22 20:06:40 +0000
commitb551a81c28f889148623ba2a6a0520e73f14c6ca (patch)
tree584881c5ec746abbc10673c736091097c1de08a9 /lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
parent4991d3570f254ef2ddba14a6b9638998227b5199 (diff)
downloadbcm5719-llvm-b551a81c28f889148623ba2a6a0520e73f14c6ca.tar.gz
bcm5719-llvm-b551a81c28f889148623ba2a6a0520e73f14c6ca.zip
[SLP] Fix for PR32036: Vectorized horizontal reduction returning wrong result
Summary: If the same value is used several times as an extra value, SLP vectorizer takes it into account only once instead of actual number of using. For example: ``` int val = 1; for (int y = 0; y < 8; y++) { for (int x = 0; x < 8; x++) { val = val + input[y * 8 + x] + 3; } } ``` We have 2 extra rguments: `1` - initial value of horizontal reduction and `3`, which is added 8*8 times to the reduction. Before the patch we added `1` to the reduction value and added once `3`, though it must be added 64 times. Reviewers: mkuper, mzolotukhin Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D30262 llvm-svn: 295868
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud