HomePhabricator

[SCEV] PtrToInt on non-integral pointers is allowed

Authored by lebedev.ri on Jun 16 2021, 12:24 AM.

Description

[SCEV] PtrToInt on non-integral pointers is allowed

As per (committed without review) @reames's rGac81cb7e6dde9b0890ee1780eae94ab96743569b change,
we are now allowed to produce ptrtoint for non-integral pointers.
This will unblock further unbreaking of SCEV regarding int-vs-pointer type confusion.

Reviewed By: mkazantsev

Differential Revision: https://reviews.llvm.org/D104322

Details

Committed
lebedev.riJun 16 2021, 12:24 AM
Reviewer
mkazantsev
Differential Revision
D104322: [SCEV] PtrToInt on non-integral pointers is allowed
Parents
rG96cded5b796f: [SLP] Incorrect handling of external scalar values
Branches
Unknown
Tags
Unknown