[all-commits] [llvm/llvm-project] c3e08c: [MLIR] Replace getVoidPtrType with getPtrType in C...

Twice via All-commits all-commits at lists.llvm.org
Fri Jun 27 03:32:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3e08c9b893bcfb2f27491b5cd5320f8e75c6a2e
      https://github.com/llvm/llvm-project/commit/c3e08c9b893bcfb2f27491b5cd5320f8e75c6a2e
  Author: Twice <twice at apache.org>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Conversion/LLVMCommon/Pattern.h
    M mlir/lib/Conversion/LLVMCommon/Pattern.cpp
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
    M mlir/test/lib/Conversion/FuncToLLVM/TestConvertCallOp.cpp

  Log Message:
  -----------
  [MLIR] Replace getVoidPtrType with getPtrType in ConvertToLLVMPattern (#145657)

`ConversionPattern::getVoidPtrType` looks a little confusion since the
opaque pointer migration is already done. Also we cannot specify address
space in this method.

Maybe we can mark them as deprecated and add new method `getPtrType()`,
as this PR did : )



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