diff options
| author | Rahul Joshi <jurahul@google.com> | 2020-12-01 11:19:59 -0800 |
|---|---|---|
| committer | Rahul Joshi <jurahul@google.com> | 2020-12-01 13:36:25 -0800 |
| commit | 6b043ecdb71bb0354cbd64d766cc21b7d20dca84 (patch) | |
| tree | aa30c378498db200ad01c41bb6bd38cee0f7d1dd /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 806a76c001233f2c70bf93c73fb955c64c1c080f (diff) | |
[MLIR] Fix genTypeInterfaceMethods() to work correctly with InferTypeOpInterface
- Change InferTypeOpInterface::inferResultTypes to use fully qualified types matching
the ones generated by genTypeInterfaceMethods, so the redundancy can be detected.
- Move genTypeInterfaceMethods() before genOpInterfaceMethods() so that the
inferResultTypes method generated by genTypeInterfaceMethods() takes precedence
over the declaration that might be generated by genOpInterfaceMethods()
- Modified an op in the test dialect to exercise this (the modified op would fail to
generate valid C++ code due to duplicate inferResultTypes methods).
Differential Revision: https://reviews.llvm.org/D92414
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
