[llvm] [VPlan] Move recording of Inst->VPValue to VPRecipeBuilder (NFCI). (PR #84464)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 8 03:27:19 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 6a0618a0289cb0c23ef3e5c820418650cc1d0fdc b09a411e5b14a566aa0a79c4d6e6624781583b4b -- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h llvm/lib/Transforms/Vectorize/VPlan.cpp llvm/lib/Transforms/Vectorize/VPlan.h llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h b/llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
index 527417e299..d940cc190f 100644
--- a/llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
+++ b/llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
@@ -117,9 +117,7 @@ public:
VPlanPtr &Plan);
/// Set the recipe created for given ingredient.
- void setRecipe(Instruction *I, VPRecipeBase *R) {
- Ingredient2Recipe[I] = R;
- }
+ void setRecipe(Instruction *I, VPRecipeBase *R) { Ingredient2Recipe[I] = R; }
/// Create the mask for the vector loop header block.
void createHeaderMask(VPlan &Plan);
``````````
</details>
https://github.com/llvm/llvm-project/pull/84464
More information about the llvm-commits
mailing list