[all-commits] [llvm/llvm-project] 68cb11: [llvm-c] Make LLVMConstGEP/LLVMConstInBoundsGEP op...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Dec 16 00:39:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68cb111f3a5802f9319f7343dd1838e4fb76f004
      https://github.com/llvm/llvm-project/commit/68cb111f3a5802f9319f7343dd1838e4fb76f004
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M llvm/include/llvm-c/Core.h
    M llvm/lib/IR/Core.cpp

  Log Message:
  -----------
  [llvm-c] Make LLVMConstGEP/LLVMConstInBoundsGEP opaque pointer compatible

Weirdly, the opaque pointer compatible variants LLVMConstGEP2 and
LLVMConstInBoundsGEP2 were already declared in the header, but not
actually implemented. This adds the missing implementations and
deprecates the incompatible functions.

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




More information about the All-commits mailing list