[PATCH] D104547: [langref] attempt to clarify semantics of inttoptr/ptrtoint for non-integral types
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 18 11:52:55 PDT 2021
mkazantsev added inline comments.
================
Comment at: llvm/docs/LangRef.rst:608
+aware of. Because the bit-representation of a non-integral pointer may
+not be stable, two identical casts of the same operand may or may not
+return the same value. Said differently, the conversion to or from the
----------------
What about same cast of the same operand executed twice (e.g. in a loop)? Is it possible that it produces different values twice, and therefore LICM of the cast is illegal?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104547/new/
https://reviews.llvm.org/D104547
More information about the llvm-commits
mailing list