[all-commits] [llvm/llvm-project] 1ae734: [mlir][linalg] Fix windows build issue in hoist pa...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Tue Nov 30 07:22:34 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ae7342a7dd44561c86dcd2de456169185e1ce80
      https://github.com/llvm/llvm-project/commit/1ae7342a7dd44561c86dcd2de456169185e1ce80
  Author: gysit <gysit at google.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list