[all-commits] [llvm/llvm-project] 93e065: [mlir][llvm] Use zeroinitializer for TargetExtType...

Lukas Sommer via All-commits all-commits at lists.llvm.org
Mon Sep 18 08:49:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93e0658a839aecc159ca4d6c7545113d837c89a7
      https://github.com/llvm/llvm-project/commit/93e0658a839aecc159ca4d6c7545113d837c89a7
  Author: Lukas Sommer <lukas.sommer at codeplay.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Dialect/LLVMIR/global.mlir
    M mlir/test/Dialect/LLVMIR/invalid.mlir
    M mlir/test/Target/LLVMIR/Import/target-ext-type.ll
    M mlir/test/Target/LLVMIR/target-ext-type.mlir

  Log Message:
  -----------
  [mlir][llvm] Use zeroinitializer for TargetExtType (#66510)

Use the recently introduced llvm.mlir.zero operation for values with
LLVM target extension type. Replaces the previous workaround that uses a
single zero-valued integer attribute constant operation.

Signed-off-by: Lukas Sommer <lukas.sommer at codeplay.com>




More information about the All-commits mailing list