[PATCH] D36170: LSR: Fix PR33514
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 13:29:40 PDT 2017
qcolombet added a comment.
Hi Evgeny,
Multiplying pointers is indeed illegal in the IR, but instead of just dropping them, would it make sense to keep them with the proper ptrtoint casts?
Also, if that is not something we are supposed to do, I think it would make sense to have SCEV complain when we are trying to do that.
Cheers,
-Quentin
Repository:
rL LLVM
https://reviews.llvm.org/D36170
More information about the llvm-commits
mailing list