[llvm] 3b4c45e - [VPlan] Fix long comment added in b021464d35ca (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 31 14:05:22 PDT 2024
Author: Florian Hahn
Date: 2024-10-31T21:05:00Z
New Revision: 3b4c45e4e5f187c652584acb94d64ba7a241760c
URL: https://github.com/llvm/llvm-project/commit/3b4c45e4e5f187c652584acb94d64ba7a241760c
DIFF: https://github.com/llvm/llvm-project/commit/3b4c45e4e5f187c652584acb94d64ba7a241760c.diff
LOG: [VPlan] Fix long comment added in b021464d35ca (NFC).
Fix formatting of comment added in b021464d35ca.
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlan.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.cpp b/llvm/lib/Transforms/Vectorize/VPlan.cpp
index ccfe8ac5830e17..84880bbb19793d 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlan.cpp
@@ -1047,7 +1047,9 @@ void VPlan::execute(VPTransformState *State) {
BrInst->insertBefore(MiddleBB->getTerminator());
MiddleBB->getTerminator()->eraseFromParent();
State->CFG.DTU.applyUpdates({{DominatorTree::Delete, MiddleBB, ScalarPh}});
- // Disconnect scalar preheader and scalar header, as the dominator tree edge will be updated as part of VPlan execution. This allows keeping the DTU logic generic during VPlan execution.
+ // Disconnect scalar preheader and scalar header, as the dominator tree edge
+ // will be updated as part of VPlan execution. This allows keeping the DTU
+ // logic generic during VPlan execution.
State->CFG.DTU.applyUpdates(
{{DominatorTree::Delete, ScalarPh, ScalarPh->getSingleSuccessor()}});
More information about the llvm-commits
mailing list