iree
iree copied to clipboard
[compiler] strip execution context affinities in const eval
During compile-time constant evaluation in pass iree-consteval-jit-globals it does not make sense to assign device/queue affinities. We will be compiling and executing it on the compilation host.
The JITed IR is first stripped of all attributes that assign affinities and all flow.tensor.transfer ops.