[all-commits] [llvm/llvm-project] 6d3e7c: [OpaquePtr] Remove uses of CreateConstGEP1_32() wi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Jul 17 09:32:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d3e7c783b98e5663741152f046f14c934bcf612
      https://github.com/llvm/llvm-project/commit/6d3e7c783b98e5663741152f046f14c934bcf612
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-07-17 (Sat, 17 Jul 2021)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGCUDANV.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/CodeGen/MicrosoftCXXABI.cpp
    M llvm/lib/Target/AArch64/AArch64StackTagging.cpp

  Log Message:
  -----------
  [OpaquePtr] Remove uses of CreateConstGEP1_32() without element type

Remove uses of to-be-deprecated API. I've fallen back to calling
getPointerElementType() in some cases where the correct type wasn't
immediately obvious to me.


  Commit: 03e4351013c133a3aabe3d7b9cded9d3153764f0
      https://github.com/llvm/llvm-project/commit/03e4351013c133a3aabe3d7b9cded9d3153764f0
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-07-17 (Sat, 17 Jul 2021)

  Changed paths:
    M llvm/include/llvm/IR/IRBuilder.h

  Log Message:
  -----------
  [IRBuilder] Deprecate CreateConstGEP1_32() without element type

This API is incompatible with opaque pointers and deprecated in
favor of the version that accepts an explicit element type.


Compare: https://github.com/llvm/llvm-project/compare/9277ce79328c...03e4351013c1


More information about the All-commits mailing list