aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authoradams381 <adams@nvidia.com>2025-12-09 17:09:25 -0600
committerGitHub <noreply@github.com>2025-12-09 15:09:25 -0800
commit84b9e444454a06ddf01f568164e3d5c8d956707d (patch)
tree5c89835d63ad44c081859377a0a0b24ef44bcf1f /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parentfb29a6e4075894e799dd2fb29399c478a4df4462 (diff)
downloadllvm-84b9e444454a06ddf01f568164e3d5c8d956707d.zip
llvm-84b9e444454a06ddf01f568164e3d5c8d956707d.tar.gz
llvm-84b9e444454a06ddf01f568164e3d5c8d956707d.tar.bz2
[CIR] Add Function Argument Demotion support (#170915)
This PR migrates the Function Argument Demotion feature from the incubator repository to upstream. The feature handles K&R-style function parameters that are promoted (e.g., short->int, float->double) and demotes them back to their declared types. ## Changes - Add emitArgumentDemotion helper function for type demotion - Create emitFunctionProlog function to handle function prologue setup (addresses existing TODO to move parameter handling logic) - Move parameter handling logic into emitFunctionProlog - Add test case kr-func-promote.c to verify the feature Tested: All CIR tests pass (320/321, 99.69%). The one unsupported test is an expected failure.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions