[PATCH] D37928: [ConstantFold] Return the correct type when folding a GEP with vector indices
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 15 13:44:36 PDT 2017
efriedma added a comment.
This looks right.
================
Comment at: lib/IR/ConstantFold.cpp:2074
+ GEPTy =
+ VectorType::get(PointerType::get(Ty, PtrTy->getAddressSpace()),
+ VT->getNumElements());
----------------
Redundant call to PointerType::get()?
https://reviews.llvm.org/D37928
More information about the llvm-commits
mailing list