erichkeane added inline comments.
================
Comment at: clang/lib/CodeGen/Address.h:26
   llvm::Value *Pointer;
+  llvm::Type *PointeeType;
   CharUnits Alignment;
----------------
I think this will still end up being a problem when we try to look into the 
type for multi-dimension pointers.  Should we have this just store the 
`QualType` of the value instead, so we can unpack it later?  If we ever needed 
the `llvm::Type` of the Pointee, a `convertTypeForMem` is all that is standing 
in our way.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103465

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to