[all-commits] [llvm/llvm-project] 92ca6f: [MLIR][LLVM] Have LLVM::AddressOfOp implement Cons...

Johannes de Fine Licht via All-commits all-commits at lists.llvm.org
Tue Apr 30 01:00:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92ca6fcb87a1b8b0cef3b0a8c960b4d7d0fc12a0
      https://github.com/llvm/llvm-project/commit/92ca6fcb87a1b8b0cef3b0a8c960b4d7d0fc12a0
  Author: Johannes de Fine Licht <johannes at musicmedia.dk>
  Date:   2024-04-30 (Tue, 30 Apr 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/test/Dialect/LLVMIR/constant-folding.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Have LLVM::AddressOfOp implement ConstantLike (#90481)

For all means and purposes llvm.mlir.addressof acts like a constant, and
should be treated as such by passes. In particular, the operation should
be propagated rather than passed whenever possible.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list