[PATCH] D144910: [LLVMContextImpl] Separate out opaque pointers

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 13:51:59 PST 2023


nikic added inline comments.


================
Comment at: llvm/lib/IR/Type.cpp:754
+      AddressSpace == 0
+          ? CImpl->LegacyPointerTypes[EltTy]
+          : CImpl->LegacyASPointerTypes[std::make_pair(EltTy, AddressSpace)];
----------------
Could keep only LegacyASPointerTypes? We don't need the optimization anymore.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144910



More information about the llvm-commits mailing list