[llvm] Move GenericFloatingPointPredicateUtils to IR to fix linkage (PR #141260)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 23 10:20:25 PDT 2025


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 HEAD~1 HEAD --extensions h -- llvm/include/llvm/Analysis/FloatingPointPredicateUtils.h llvm/include/llvm/CodeGen/GlobalISel/MachineFloatingPointPredicateUtils.h llvm/include/llvm/IR/GenericFloatingPointPredicateUtils.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/MachineFloatingPointPredicateUtils.h b/llvm/include/llvm/CodeGen/GlobalISel/MachineFloatingPointPredicateUtils.h
index d13e4dafe..d3a31165b 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/MachineFloatingPointPredicateUtils.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/MachineFloatingPointPredicateUtils.h
@@ -9,8 +9,8 @@
 #ifndef LLVM_CODEGEN_MACHINEFLOATINGPOINTPREDICATEUTILS_H
 #define LLVM_CODEGEN_MACHINEFLOATINGPOINTPREDICATEUTILS_H
 
-#include "llvm/IR/GenericFloatingPointPredicateUtils.h"
 #include "llvm/CodeGen/MachineSSAContext.h"
+#include "llvm/IR/GenericFloatingPointPredicateUtils.h"
 
 namespace llvm {
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/141260


More information about the llvm-commits mailing list