[PATCH] D37832: Eliminate PHI (int typed) which is only used by inttoptr

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 09:59:09 PDT 2017


davidxl added a comment.

As I have mentioned, this patch itself does *not* fold any ptrtoint/inttoptr. It simply moves the intptr across the phi node. The folding you see with the test cases  is done by existing optimizations, so I am not sure what the objection is about.


https://reviews.llvm.org/D37832





More information about the llvm-commits mailing list