[llvm] MachineBlockPlacement: Add tolerance to comparisons (PR #67197)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 3 15:24:17 PDT 2023
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 1cfaa863bc36d25625114b432e2ddf35d2302452 d983c7bbf791a973c3e6bec0c07d56dfeba244b7 -- llvm/include/llvm/Support/BlockFrequency.h llvm/lib/CodeGen/MachineBlockPlacement.cpp llvm/unittests/Support/BlockFrequencyTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/Support/BlockFrequencyTest.cpp b/llvm/unittests/Support/BlockFrequencyTest.cpp
index c8a61bd4b5c3..d0e2c021e097 100644
--- a/llvm/unittests/Support/BlockFrequencyTest.cpp
+++ b/llvm/unittests/Support/BlockFrequencyTest.cpp
@@ -154,5 +154,4 @@ TEST(BlockFrequencyTest, AlmostEqual) {
EXPECT_TRUE(BlockFrequency(0).almostEqual(0, 1));
EXPECT_TRUE(BlockFrequency(0).almostEqual(0, 63));
}
-
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/67197
More information about the llvm-commits
mailing list