HomePhabricator

[mlir][linalg] Fix windows build issue in hoist padding.

Authored by gysit on Nov 30 2021, 7:17 AM.

Description

[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

Details

Committed
gysitNov 30 2021, 7:21 AM
Reviewer
hpmorgan
Differential Revision
D114775: [mlir][linalg] Fix windows build issue in hoist padding.
Parents
rG7986a5f23ebb: [OpenMP] Add RTL function to externalization RAII
Branches
Unknown
Tags
Unknown