[PATCH] D38546: [ConstantFolding] Avoid assert when folding ptrtoint of vectorized GEP

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 14:58:56 PDT 2017


efriedma added a comment.

The constant expression ptrtoint is supposed to have the same rules as the instruction ptrtoint.  Looks like we just forgot to update LangRef when pointer vectors were added.


https://reviews.llvm.org/D38546





More information about the llvm-commits mailing list