diff options
| author | Sacha Ballantyne <Sacha.Ballantyne@arm.com> | 2023-02-14 10:28:43 +0000 |
|---|---|---|
| committer | Kiran Chandramohan <kiran.chandramohan@arm.com> | 2023-02-14 10:28:56 +0000 |
| commit | 98ecc3ac77a9a994847e63b59b622f05c1829df4 (patch) | |
| tree | 1d0cac1e751c5af86805a17f618b965541079ce4 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | e8d44841c5d5f1e7ca2013ab2ae23bb4cec45d1e (diff) | |
[Flang] Fix for Any/All simplification to properly propogate the inital value
When rank > 1, the inital value would be lost on inner loops, leading to the wrong
value to be returned, e.g. This would return T. This patch fixes this to use the correct
inital value for all cases.
```
Integer :: m(0,10)
Any(m .eq 0)
```
Reviewed By: vdonaldson
Differential Revision: https://reviews.llvm.org/D143899
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
