[llvm] 8e9011b - [LV][NFC]Fix formatting
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 06:05:43 PDT 2024
Author: Alexey Bataev
Date: 2024-09-25T06:05:35-07:00
New Revision: 8e9011b3b8dc6a4234e5452951ae429f52127db6
URL: https://github.com/llvm/llvm-project/commit/8e9011b3b8dc6a4234e5452951ae429f52127db6
DIFF: https://github.com/llvm/llvm-project/commit/8e9011b3b8dc6a4234e5452951ae429f52127db6.diff
LOG: [LV][NFC]Fix formatting
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
index 6872cc535a10bf..a878613c4ba483 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -1456,9 +1456,8 @@ bool VPlanTransforms::tryAddExplicitVectorLength(VPlan &Plan) {
EVLPhi->insertAfter(CanonicalIVPHI);
// TODO: Add support for MaxSafeDist for correct loop emission.
// Compute original TC - IV as the AVL (application vector length).
- auto *AVL = new VPInstruction(
- Instruction::Sub, {Plan.getTripCount(), EVLPhi},
- DebugLoc(), "avl");
+ auto *AVL = new VPInstruction(Instruction::Sub, {Plan.getTripCount(), EVLPhi},
+ DebugLoc(), "avl");
AVL->insertBefore(*Header, Header->getFirstNonPhi());
auto *VPEVL =
new VPInstruction(VPInstruction::ExplicitVectorLength, AVL, DebugLoc());
More information about the llvm-commits
mailing list