summaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
diff options
context:
space:
mode:
authorFabian Mora <fmora.dev@gmail.com>2023-05-22 16:21:28 +0000
committerfmorac <fmora.dev@gmail.com>2023-05-22 16:23:00 +0000
commit041f1abee11c0d5b790776bb26287bdbc7fe058c (patch)
tree51a6ba45fe5fd79823a9a0d85fdbaa5fc0bd02df /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
parent986cbd80d1dc838c61abff24b8d7ac28dcf4ac2a (diff)
[mlir][memref] Fix num elements in lowering of memref.alloca op to LLVM
Fixes a mistake in the lowering of memref.alloca to llvm.alloca, as llvm.alloca uses the number of elements to allocate in the stack and not the size in bytes. Reference: LLVM IR: https://llvm.org/docs/LangRef.html#alloca-instruction LLVM MLIR: https://mlir.llvm.org/docs/Dialects/LLVM/#llvmalloca-mlirllvmallocaop Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D150705
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions