[llvm] c786968 - [LV] Remove unneeded getVectorIntrinsicIDForCall call (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 29 02:20:12 PDT 2022
Author: Florian Hahn
Date: 2022-08-29T10:19:47+01:00
New Revision: c78696813f1ac1b8253d06a2abf38d6647f9d7ae
URL: https://github.com/llvm/llvm-project/commit/c78696813f1ac1b8253d06a2abf38d6647f9d7ae
DIFF: https://github.com/llvm/llvm-project/commit/c78696813f1ac1b8253d06a2abf38d6647f9d7ae.diff
LOG: [LV] Remove unneeded getVectorIntrinsicIDForCall call (NFC).
Suggested as independent fix during the review of D132585.
Added:
Modified:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 6d628c5e32a5b..27f21e0d393b2 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -8319,7 +8319,6 @@ VPWidenCallRecipe *VPRecipeBuilder::tryToWidenCall(CallInst *CI,
return nullptr;
auto willWiden = [&](ElementCount VF) -> bool {
- Intrinsic::ID ID = getVectorIntrinsicIDForCall(CI, TLI);
// The following case may be scalarized depending on the VF.
// The flag shows whether we use Intrinsic or a usual Call for vectorized
// version of the instruction.
More information about the llvm-commits
mailing list