[PATCH] [RewriteStatepointsForGC] Extend base pointer to handle more cases w/vectors
Pat Gavlin
pagavlin at microsoft.com
Mon May 11 16:21:21 PDT 2015
LGTM with one nit.
================
Comment at: lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:304
@@ +303,3 @@
+ if (isa<ConstantInt>(Index) && isa<ConstantInt>(InsertIndex) &&
+ Index != InsertIndex)
+ return findBaseOfVector(IEI->getOperand(0), Index);
----------------
Isn't `Index != InsertIndex` redundant?
http://reviews.llvm.org/D9676
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list