aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
diff options
context:
space:
mode:
authorTobias Gysi <tobias.gysi@nextsilicon.com>2022-11-18 15:04:38 +0100
committerTobias Gysi <tobias.gysi@nextsilicon.com>2022-11-18 15:15:35 +0100
commitbc270f9ed1c86db3f3a537dc6f91cda94737b915 (patch)
treeb0653174b7854c87eaed20f3c8348e1df1de7831 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
parent6527201414cf9479639594a7a1f80558ec09d106 (diff)
downloadllvm-bc270f9ed1c86db3f3a537dc6f91cda94737b915.zip
llvm-bc270f9ed1c86db3f3a537dc6f91cda94737b915.tar.gz
llvm-bc270f9ed1c86db3f3a537dc6f91cda94737b915.tar.bz2
[mlir][llvm] Iterative constant import from LLVM IR.
Instead of importing constant expressions recursively, the revision walks all dependencies of an LLVM constant iteratively. The actual conversion then iterates over a list of constants and all intermediate constant values are added to the value mapping. As a result, an LLVM IR constant maps to exactly one MLIR operation per function. The revision adapts the existing tests since the constant ordering changed for aggregate types. Additionally, it adds extra tests that mix aggregate constants and constant expressions. Depends on D137416 Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D137559
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions