[LV] Remmove unused default argument to isLegalGatherOrScatter [nfc]
authorPhilip Reames <preames@rivosinc.com>
Mon, 3 Apr 2023 18:03:14 +0000 (11:03 -0700)
committerPhilip Reames <listmail@philipreames.com>
Mon, 3 Apr 2023 18:03:35 +0000 (11:03 -0700)
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

index 21858cc..0b369f9 100644 (file)
@@ -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<LoadInst>(V);
     bool SI = isa<StoreInst>(V);
     if (!LI && !SI)