[PATCH] D110623: [SLP] Avoid calculating expensive spill cost when it is not required
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 16 13:15:04 PST 2022
ABataev added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:5814-5816
+ if (!isa<DbgInfoIntrinsic>(&*PrevInstIt) &&
+ !(&*PrevInstIt)->isLifetimeStartOrEnd() &&
+ (!II || !II->isAssumeLikeIntrinsic()))
----------------
I believe `isAssumeLikeIntrinsic()` covers all the checks here, no?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110623/new/
https://reviews.llvm.org/D110623
More information about the llvm-commits
mailing list