commit | 100506b44d20ae0f9ebe282f0871396f608c416c | [log] [tgz] |
---|---|---|
author | gysit <gysit@google.com> | Tue Nov 30 15:17:38 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Nov 30 07:25:36 2021 -0800 |
tree | 1e5283bef1c7b68c9ae5058b99c0967332fe7304 | |
parent | 197f6a8f718105c64c58a96adbb10295ea012c82 [diff] |
[mlir][linalg] Fix windows build issue in hoist padding. Iterating backwardSlice and removing elements at the same time can fail on windows for specific build configurations (the code was introduced in https://reviews.llvm.org/D114420). This revision introduces a second vector to collect all operations and removes them after finishing the reverse iteration. Reviewed By: hpmorgan Differential Revision: https://reviews.llvm.org/D114775 GitOrigin-RevId: 1ae7342a7dd44561c86dcd2de456169185e1ce80
See https://mlir.llvm.org/ for more information.