yaxunl added a comment. In https://reviews.llvm.org/D40085#926766, @arsenm wrote: > Should it just be the type size? There seems like no reason to use the low level pointer size query That sounds reasonable. Will do. https://reviews.llvm.org/D40085