[all-commits] [llvm/llvm-project] 55d392: [llvm-c] Make LLVMAddAlias opaque pointer compatible

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Dec 2 00:24:23 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55d392cc30fb36e6361ba71f4b568c093f8b23f3
      https://github.com/llvm/llvm-project/commit/55d392cc30fb36e6361ba71f4b568c093f8b23f3
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M llvm/include/llvm-c/Core.h
    M llvm/lib/IR/Core.cpp
    M llvm/tools/llvm-c-test/echo.cpp
    M llvm/unittests/IR/ConstantsTest.cpp

  Log Message:
  -----------
  [llvm-c] Make LLVMAddAlias opaque pointer compatible

Deprecate LLVMAddAlias in favor of LLVMAddAlias2, which accepts a
value type and an address space. Previously these were extracted
from the pointer type.

Differential Revision: https://reviews.llvm.org/D114860




More information about the All-commits mailing list