commit | 3c4e1c7563057bddb19dae191673dd825d424270 | [log] [tgz] |
---|---|---|
author | Dominik Adamski <dominik.adamski@amd.com> | Mon Jan 22 09:24:45 2024 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Jan 22 00:26:49 2024 -0800 |
tree | 9f4c85b42f6f3ac56f9f0b86cde7407229297cf3 | |
parent | b819d4eb559aa2c325c94d242d8bdc17ac340d1a [diff] |
[OpenMP][OMPIRBuilder] Fix LLVM IR codegen for collapsed device loop (#78708) When we generate the loop body function, we need to be sure, that all original loop counters are replaced by the new counter. We need to save all items which use the original loop counter and then perform replacement of the original loop counter. If we don't do it, there is a risk that some values are not updated. GitOrigin-RevId: 21199f9842dffa4f34b38101195c6f57d1bd4630