[PATCH] D38546: [ConstantFolding] Avoid assert when folding ptrtoint of vectorized GEP
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 20 12:12:14 PDT 2017
efriedma added a comment.
Needs a FIXME or something explaining why exactly you're returning early; in theory, we should be able to fold vector ptrtoint operations the same way we fold integer ptrtoint operations, given the right logic.
Also, while we're discussing LangRef, would you mind updating it to clarify the rules here?
https://reviews.llvm.org/D38546
More information about the llvm-commits
mailing list