[all-commits] [llvm/llvm-project] a26ba8: [OpenMP][MLIR] Prevent constant hoisting out of ta...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Mon Apr 17 03:30:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a26ba8724f734fc85ef6378e3f82aef790e6e543
      https://github.com/llvm/llvm-project/commit/a26ba8724f734fc85ef6378e3f82aef790e6e543
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/test/Dialect/OpenMP/canonicalize.mlir

  Log Message:
  -----------
  [OpenMP][MLIR] Prevent constant hoisting out of target regions

This patch prevents constant operations defined inside `omp.target` from being
hoisted out and into their parent functions by canonicalization passes.

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




More information about the All-commits mailing list