diff options
| author | Alex Zinenko <zinenko@google.com> | 2020-10-26 19:29:28 +0100 |
|---|---|---|
| committer | Alex Zinenko <zinenko@google.com> | 2020-10-26 23:19:20 +0100 |
| commit | 03e6f40cdba61e6fbe0fef00e92ae1ebaf8431a7 (patch) | |
| tree | 21effa211e8062f371ca833121664cccdb721d8f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 7611c5bb42a96c13d0e53ade546633bf9ed56f0c (diff) | |
[mlir] Do not print back 0 alignment in LLVM dialect 'alloca' op
The alignment attribute in the 'alloca' op treats the '0' value as 'unset'.
When parsing the custom form of the 'alloca' op, ignore the alignment attribute
with if its value is '0' instead of actually creating it and producing a
slightly different textually yet equivalent semantically form in the output.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D90179
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
