diff options
| author | Fabian Mora <fmora.dev@gmail.com> | 2023-05-22 16:21:28 +0000 |
|---|---|---|
| committer | fmorac <fmora.dev@gmail.com> | 2023-05-22 16:23:00 +0000 |
| commit | 041f1abee11c0d5b790776bb26287bdbc7fe058c (patch) | |
| tree | 51a6ba45fe5fd79823a9a0d85fdbaa5fc0bd02df /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
| parent | 986cbd80d1dc838c61abff24b8d7ac28dcf4ac2a (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
