To make the map lookups simpler for opaque pointers and to simplify future typed pointer code removal. No significant compile time wins though.
While we're here, remove the address space 0 optimization for typed pointers.
Paths
| Differential D144910
[LLVMContextImpl] Separate out opaque pointers ClosedPublic Authored by aeubanks on Feb 27 2023, 1:19 PM.
Details
Summary To make the map lookups simpler for opaque pointers and to simplify future typed pointer code removal. No significant compile time wins though. While we're here, remove the address space 0 optimization for typed pointers.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Feb 27 2023, 2:06 PM This revision was landed with ongoing or failed builds.Feb 27 2023, 2:13 PM Closed by commit rG5a201a730539: [LLVMContextImpl] Separate out opaque pointers (authored by aeubanks). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 500910 llvm/lib/IR/LLVMContextImpl.h
llvm/lib/IR/Type.cpp
|
Could keep only LegacyASPointerTypes? We don't need the optimization anymore.