[all-commits] [llvm/llvm-project] 484668: Reland "[MLIR][LLVM] Change addressof builders to ...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Tue Oct 17 02:33:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 484668c7597d9198e21332b30d2f15ece536a0bb
      https://github.com/llvm/llvm-project/commit/484668c7597d9198e21332b30d2f15ece536a0bb
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
    M mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
    M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir

  Log Message:
  -----------
  Reland "[MLIR][LLVM] Change addressof builders to use opaque pointers" (#69292)

This relands fbde19a664e5fd7196080fb4ff0aeaa31dce8508, which was broken due to incorrect GEP element type creation.

This commit changes the builders of the `llvm.mlir.addressof` operations
to no longer produce typed pointers.

As a consequence, a GPU to NVVM pattern had to be updated, that still
relied on typed pointers.




More information about the All-commits mailing list