[PATCH] D71249: [LV] Set name for vector preheader and trip count check blocks
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 04:03:14 PST 2019
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:2694-2695
- LoopVectorPreHeader =
- SplitBlock(OrigPreHeader, OrigPreHeader->getTerminator(), DT, LI, nullptr,
- "vector.ph");
+ auto OrigName = OrigPreHeader->getName().str();
+ OrigPreHeader->setName("tc.check");
+ LoopVectorPreHeader = SplitBlock(
----------------
passing-by note: here and everywhere: should it really be just `"tc.check"`? shouldn't that be a suffix added to the preexisting loop name?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71249/new/
https://reviews.llvm.org/D71249
More information about the llvm-commits
mailing list