[PATCH] D104322: [SCEV] PtrToInt on non-integral pointers is allowed

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 16 08:24:33 PDT 2021


nikic added a comment.

As a drive-by note, it would be great if you could expand LangRef on non-integral pointers a bit. It made sense to me when it specified that you can't use `ptrtoint` on a non-integral pointer, but without that limitation, it's not really clear to me what the actual difference between a non-integral pointer and a normal one is. What transforms are you not allowed to perform on a non-integral pointer that you can perform on a normal one?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104322



More information about the llvm-commits mailing list