[PATCH] D81517: Extend or truncate __ptr32/__ptr64 pointers when dereferenced.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 10:32:21 PDT 2020


craig.topper added a comment.

I'm worried that load/store aren't the only things that can use these pointers. Or that we will have transformed the load/store into a target specific load/store before type legalizaton kicks in. I'm not an expert on address spaces, but it feels to me like we should have an address space cast in IR before the pointers are used by load/store. And that the address space cast is what should be turned into trunc or extend. @arsenm what do you think?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81517





More information about the llvm-commits mailing list