[PATCH] D85647: [InstCombine] eliminate a pointer cast around insertelement
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 18:05:15 PDT 2020
aqjune added a comment.
I agree this transformation is safe modulo the pointer size check. It should be fine to fold `p2i(i2p i) -> i` when the size of pointer is large enough.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85647/new/
https://reviews.llvm.org/D85647
More information about the llvm-commits
mailing list