[all-commits] [llvm/llvm-project] 366d84: [mlir][gpu] Fix bug in kernel outlining

Stephan Herhut via All-commits all-commits at lists.llvm.org
Fri Oct 9 06:04:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 366d8435b41dcc01013c507681523c65cdee2180
      https://github.com/llvm/llvm-project/commit/366d8435b41dcc01013c507681523c65cdee2180
  Author: Stephan Herhut <herhut at google.com>
  Date:   2020-10-09 (Fri, 09 Oct 2020)

  Changed paths:
    M mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
    M mlir/test/Dialect/GPU/outlining.mlir

  Log Message:
  -----------
  [mlir][gpu] Fix bug in kernel outlining

The updated version of kernel outlining did not handle cases correctly
where an operand of a candidate for sinking itself was defined by an operation
that is a sinking candidate. In such cases, it could happen that sunk
operations were inserted in the wrong order, breaking ssa properties.

Differential Revision: https://reviews.llvm.org/D89112




More information about the All-commits mailing list