[llvm] [LICM] Prevent LICM of ptrtoint and inttoptr when using non-integral pointers (PR #97272)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 22:47:14 PDT 2024
=?utf-8?q?Csanád_Hajdú?= <csanad.hajdu at arm.com>,
=?utf-8?q?Csanád_Hajdú?= <csanad.hajdu at arm.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/97272 at github.com>
arpilipe wrote:
There was a bit of discussion about LICM in the review that allowed such casts for non-integral pointers.
https://reviews.llvm.org/D104547
At that time, we considered LICM valid because the cast is allowed to produce the same result every time.
What kind of problem are you trying to solve with this restriction?
https://github.com/llvm/llvm-project/pull/97272
More information about the llvm-commits
mailing list