Jaeho Kim 103461f119
[mlir][spirv] Fix lookup logic spirv.target_env for gpu.module (#147262)
The `gpu.module` operation can contain `spirv.target_env` attributes
within an array attribute named `"targets"`. So it accounts for that
case by iterating over the `"targets"` attribute, if present, and
looking up `spirv.target_env`.

---------

Co-authored-by: Jakub Kuderski <kubakuderski@gmail.com>
2025-08-01 06:54:04 -04:00
..