From f6b217c7cbda809236f69a079a34134d8a6592ca Mon Sep 17 00:00:00 2001 From: Philip Reames Date: Mon, 3 Apr 2023 11:03:14 -0700 Subject: [PATCH] [LV] Remmove unused default argument to isLegalGatherOrScatter [nfc] --- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index 21858cc..0b369f9 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -1470,8 +1470,7 @@ public: /// Returns true if the target machine can represent \p V as a masked gather /// or scatter operation. - bool isLegalGatherOrScatter(Value *V, - ElementCount VF = ElementCount::getFixed(1)) { + bool isLegalGatherOrScatter(Value *V, ElementCount VF) { bool LI = isa(V); bool SI = isa(V); if (!LI && !SI) -- 2.7.4