[PATCH] D100496: Add emitWcsLen and getInt[16|32]PtrTy helper functions

Anjan Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 14 12:12:43 PDT 2021


anjankgk added inline comments.


================
Comment at: llvm/include/llvm/IR/IRBuilder.h:565
 
+  /// Fetch the type representing a pointer to an 16-bit integer value.
+  PointerType *getInt16PtrTy(unsigned AddrSpace = 0) {
----------------
lebedev.ri wrote:
> These two don't carry their weight.
> In LLVM IR, pointer types are going away soon.
Is there another substitute type for the PointerType if this is going to be removed?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100496/new/

https://reviews.llvm.org/D100496



More information about the llvm-commits mailing list