[llvm] [PGO] Test for inheritance relationships for `instrprof` intrinsics (PR #89485)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 19 20:44:52 PDT 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 c045955501ed28fee7c40d8822a1aacc2022786e 59c16b5d9bb98c0a34ee0c15ccde0f416d58db3a -- llvm/unittests/IR/IntrinsicsTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/IR/IntrinsicsTest.cpp b/llvm/unittests/IR/IntrinsicsTest.cpp
index 715e7b9c6c..faffba5ab0 100644
--- a/llvm/unittests/IR/IntrinsicsTest.cpp
+++ b/llvm/unittests/IR/IntrinsicsTest.cpp
@@ -43,7 +43,7 @@ class IntrinsicsTest : public ::testing::Test {
public:
Instruction *makeIntrinsic(Intrinsic::ID ID) const {
IRBuilder<> Builder(BB);
- SmallVector<Value*, 4> ProcessedArgs;
+ SmallVector<Value *, 4> ProcessedArgs;
auto *Decl = Intrinsic::getDeclaration(M.get(), ID);
for (auto *Ty : Decl->getFunctionType()->params()) {
auto *Val = Constant::getNullValue(Ty);
``````````
</details>
https://github.com/llvm/llvm-project/pull/89485
More information about the llvm-commits
mailing list