[all-commits] [llvm/llvm-project] 01192a: [mlir][llvm] Add zeroinitializer constant (#65508)

Vinicius Couto Espindola via All-commits all-commits at lists.llvm.org
Fri Sep 8 04:03:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01192a09bb35269f29fc0032a3cbb81a30c3b9dc
      https://github.com/llvm/llvm-project/commit/01192a09bb35269f29fc0032a3cbb81a30c3b9dc
  Author: Vinicius Couto Espindola <34522047+sitio-couto at users.noreply.github.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/test/Dialect/LLVMIR/roundtrip.mlir
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir][llvm] Add zeroinitializer constant (#65508)

This patch adds support for the zeroinitializer constant to LLVM
dialect. It's meant to simplify zero-initialization of aggregate types
in MLIR, although it can also be used with non-aggregate types.




More information about the All-commits mailing list