aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorjeanPerier <jperier@nvidia.com>2023-10-23 10:42:18 +0200
committerGitHub <noreply@github.com>2023-10-23 10:42:18 +0200
commit514de38330abc2d17d8f15e333e5991c5a9d2b43 (patch)
tree8bb9e558343386dccd3abec96b987dda5528e63a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentb6b492880f5ac6357d85ba2f3ad8e41fded1d97c (diff)
downloadllvm-514de38330abc2d17d8f15e333e5991c5a9d2b43.zip
llvm-514de38330abc2d17d8f15e333e5991c5a9d2b43.tar.gz
llvm-514de38330abc2d17d8f15e333e5991c5a9d2b43.tar.bz2
[flang] Place MIN/MAX A1/A2 first in semantic analysis (#69722)
Intrinsic analysis in semantics reorder the actual arguments so that they match the dummy order. This was not done for MIN/MAX because they are special: these are the only intrinsics with a variadic number of arguments. This caused bugs in lowering that only check the optionality of actual arguments from the third position (since A1 and A2 are mandatory). Update semantics to place A1/A2 first. This also allow removing some checks that were specific to MIN/MAX. There is no point in sorting/placing the rest of the arguments which would be tedious and tricky because of the variadic aspect.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions