diff options
| author | Peter Klausler <pklausler@nvidia.com> | 2022-08-03 12:22:42 -0700 |
|---|---|---|
| committer | Peter Klausler <pklausler@nvidia.com> | 2022-08-09 05:51:45 -0700 |
| commit | 9d084982a38526fb8ba15867ecceec3e9b82a6f8 (patch) | |
| tree | c2565372a1ff412a992fa3a3e56e641a64a82074 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp | |
| parent | 1d1a56929b725f9a79d98877f12d0a14f8418b38 (diff) | |
| download | llvm-9d084982a38526fb8ba15867ecceec3e9b82a6f8.zip llvm-9d084982a38526fb8ba15867ecceec3e9b82a6f8.tar.gz llvm-9d084982a38526fb8ba15867ecceec3e9b82a6f8.tar.bz2 | |
[flang] Clarify CheckReductionDIM()
This utility routine in constant folding should return false when
a DIM= actual argument to a reduction intrinsic function has a
value that prevents folding, and true when folding can proceed.
The implementation was returning true in cases where a DIM=
argument was present but not constant.
Clarify the code and add commentary: a true result means that
there is no DIM= actual argument present, or that a DIM= argument
exists, is constant, and has a value that is in range.
Differential Revision: https://reviews.llvm.org/D131101
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions
