[PATCH] D154228: [GVN] Use vector ops when doing loadCoercion on a vector value
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 1 04:01:45 PDT 2023
foad added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/VNCoercion.cpp:316
Builder.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType()));
+ else if (SrcVal->getType()->isVectorTy()) {
+ // If they have the same size let coerceAvailableValueToLoadType handle it.
----------------
Do you also need to do this for the vector-of-pointers case that is handled above?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154228/new/
https://reviews.llvm.org/D154228
More information about the llvm-commits
mailing list