[PATCH] D38546: [ConstantFolding] Avoid assert when folding ptrtoint of vectorized GEP
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 15:45:19 PDT 2017
efriedma accepted this revision.
efriedma added a comment.
LGTM with fixed whitespace.
================
Comment at: lib/IR/ConstantFold.cpp:640
+ if (DestTy->isVectorTy())
+ return nullptr;
GEPOperator *GEPO = cast<GEPOperator>(CE);
----------------
Looks like the whitespace got messed up here somehow?
https://reviews.llvm.org/D38546
More information about the llvm-commits
mailing list