diff options
| author | Vijay Kandiah <vkandiah@nvidia.com> | 2025-11-06 10:20:00 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-06 10:20:00 -0600 |
| commit | faae161914ffc24f09421a552b20581bedc6c7dd (patch) | |
| tree | 1e297cbb693e5c06175a62492bfe9c3faa5e0a79 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 670c453aeb1931fbecd0be31ea9cb1cca113c1af (diff) | |
[mlir][acc] Erase empty kernel_environment ops during canonicalization (#166633)
This change removes empty `acc.kernel_environment` operations during
canonicalization. This could happen when the acc compute construct
inside the `acc.kernel_environment` is optimized away in cases such as
when only private variables are being written to in the loop.
In cases of empty `acc.kernel_environment` ops with waitOperands, we
still remove the empty `acc.kernel_environment`, but also create an
`acc.wait` operation to take those wait operands to preserve
synchronization behavior.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
