[all-commits] [llvm/llvm-project] a5605c: [MLIR] Fix afterIP for dynamic worksharing-loop af...

PeixinQiao via All-commits all-commits at lists.llvm.org
Wed Mar 2 23:38:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5605c9a15b30da42821a8238ebc8f7177a904e9
      https://github.com/llvm/llvm-project/commit/a5605c9a15b30da42821a8238ebc8f7177a904e9
  Author: Peixin-Qiao <qiaopeixin at huawei.com>
  Date:   2022-03-03 (Thu, 03 Mar 2022)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/openmp-llvm.mlir

  Log Message:
  -----------
  [MLIR] Fix afterIP for dynamic worksharing-loop after collaping loops

The loopInfos gets invalidated after collapsing nested loops. Use the
saved afterIP since the returned afterIP by applyDynamicWorkshareLoop
may be not valid.

Reviewed By: shraiysh

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




More information about the All-commits mailing list