[all-commits] [llvm/llvm-project] 821262: [mlir] Fix GPU LaunchFunc conversion to the LLVM d...

ftynse via All-commits all-commits at lists.llvm.org
Tue Sep 7 07:50:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 821262eef210af8675b794fe7efe6d2ed6f81d3a
      https://github.com/llvm/llvm-project/commit/821262eef210af8675b794fe7efe6d2ed6f81d3a
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp

  Log Message:
  -----------
  [mlir] Fix GPU LaunchFunc conversion to the LLVM dialect

The conversion has been incorrectly using the operands of the original
operation instead of the converted operands provided to the matchAndRewrite
call. This may lead to spurious materializations and generally invalid IR if
the producer of the original operands is deleted in the process of conversion.

Reviewed By: csigg

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




More information about the All-commits mailing list