aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-08-03 12:22:42 -0700
committerPeter Klausler <pklausler@nvidia.com>2022-08-09 05:51:45 -0700
commit9d084982a38526fb8ba15867ecceec3e9b82a6f8 (patch)
treec2565372a1ff412a992fa3a3e56e641a64a82074 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
parent1d1a56929b725f9a79d98877f12d0a14f8418b38 (diff)
downloadllvm-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