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

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 16 11:03:26 PDT 2021


reames added a comment.

Took a shot at a minimal crippling of SCEV over in https://reviews.llvm.org/D104403.  That isn't a patch ready to land, but it should let us collect some perf numbers on the impact of crippling SCEV's ability to reason about non-integral pointers.

Slightly OT, but I realized an increasing reliance on ptrtoint in code SCEV analyzes and expands might interact badly with the current discussion around pointer provenance and end up negatively impacting AA results.  Just a thought at the moment. (This is not related to NI pointers at all.)


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