diff options
| author | Lei Zhang <antiagainst@google.com> | 2022-08-09 14:15:55 -0400 |
|---|---|---|
| committer | Lei Zhang <antiagainst@google.com> | 2022-08-09 14:21:50 -0400 |
| commit | b83d0d46c0b197c36c671493a3339d8d7a8bcd6a (patch) | |
| tree | 1e6745b2b578ad17fc7c4be879412f8bd7fb3353 /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | 66c2b76846246fcd1df31e1928b0df44a8fe43e1 (diff) | |
| download | llvm-b83d0d46c0b197c36c671493a3339d8d7a8bcd6a.zip llvm-b83d0d46c0b197c36c671493a3339d8d7a8bcd6a.tar.gz llvm-b83d0d46c0b197c36c671493a3339d8d7a8bcd6a.tar.bz2 | |
[mlir][spirv] Make MemRef memory space mapping pass more flexible
* Avoid restricting the pass to to builtin module ops. The pass
should be able to run on any region ops.
* Avoid hardcoding func FuncOp when handling functions. Instead,
use the function op interface.
* Assigns the default mapping in the constructor. So for cases
where we are using the pass in a pipeline, we still have a
meaningful default.
Along the way, dropped uncessary unrealized conversion casts and
use full conversion. The pass should be able to convert all sorts
of ops; there is really no need to have such bridages.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D131409
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
