[llvm] 899ebd7 - [LV] Remove two unused default arguments [nfc]
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 27 14:34:03 PDT 2022
Author: Philip Reames
Date: 2022-09-27T14:33:53-07:00
New Revision: 899ebd7e99fde149eea7fc378a8511f0e134b1a1
URL: https://github.com/llvm/llvm-project/commit/899ebd7e99fde149eea7fc378a8511f0e134b1a1
DIFF: https://github.com/llvm/llvm-project/commit/899ebd7e99fde149eea7fc378a8511f0e134b1a1.diff
LOG: [LV] Remove two unused default arguments [nfc]
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 c1bb875925855..2a530ffabe2f4 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -1473,16 +1473,12 @@ class LoopVectorizationCostModel {
/// Returns true if \p I is a memory instruction with consecutive memory
/// access that can be widened.
- bool
- memoryInstructionCanBeWidened(Instruction *I,
- ElementCount VF = ElementCount::getFixed(1));
+ bool memoryInstructionCanBeWidened(Instruction *I, ElementCount VF);
/// Returns true if \p I is a memory instruction in an interleaved-group
/// of memory accesses that can be vectorized with wide vector loads/stores
/// and shuffles.
- bool
- interleavedAccessCanBeWidened(Instruction *I,
- ElementCount VF = ElementCount::getFixed(1));
+ bool interleavedAccessCanBeWidened(Instruction *I, ElementCount VF);
/// Check if \p Instr belongs to any interleaved access group.
bool isAccessInterleaved(Instruction *Instr) {
More information about the llvm-commits
mailing list