[all-commits] [llvm/llvm-project] 65c15c: [MLIR][LLVM] Add MemRead/MemWrite behavior to llvm...

William Moses via All-commits all-commits at lists.llvm.org
Tue Jan 11 11:55:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65c15cbd4a555c5fdf4f12ecfbba7a2702087e3f
      https://github.com/llvm/llvm-project/commit/65c15cbd4a555c5fdf4f12ecfbba7a2702087e3f
  Author: William S. Moses <gh at wsmoses.com>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/test/Dialect/LLVMIR/canonicalize.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Add MemRead/MemWrite behavior to llvm store/load/addressof ops

This patch adds corresponding memory effects to mlir llvm-dialect load/store/addressof ops, which thus enables canonicalizations of those ops (like dead code elimination) that rely on the effect interface

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list