[PATCH] D85647: [InstCombine] eliminate a pointer cast around insertelement

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 12:01:14 PDT 2020


efriedma added a comment.

If we're eliminating an inttoptr/ptrtoint pair, do we need to check that the pointer type is large enough to hold the integer type?  (I don't know how likely this is to come up given instcombine canonicalizes the casts, but better to be safe, I think.)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85647/new/

https://reviews.llvm.org/D85647



More information about the llvm-commits mailing list