[all-commits] [llvm/llvm-project] 6225d0: [OpaquePtr] Remove uses of CreateInBoundsGEP() wit...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Jul 17 12:27:39 PDT 2021


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

  Changed paths:
    M clang/lib/CodeGen/CGDecl.cpp
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M polly/lib/CodeGen/IslNodeBuilder.cpp

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

Remove uses of to-be-deprecated API.

Unfortunately this one mostly just makes the use of
getPointerElementType() explicit, as the correct type to use
wasn't immediately available (deriving it from QualType is left
as an excercise to the reader).


  Commit: f95d26006e0641385565774ca4b560cc72a84e2f
      https://github.com/llvm/llvm-project/commit/f95d26006e0641385565774ca4b560cc72a84e2f
  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 CreateInBoundsGEP() 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/d0f8047d37bf...f95d26006e06


More information about the All-commits mailing list