[llvm] Class for checking floating-point properties (PR #205138)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 22 09:52:46 PDT 2026
github-actions[bot] wrote:
<!--LLVM IDS CHECK COMMENT-->
:warning: LLVM ABI annotation checker, ids-check found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
Build idt from compnerd/ids, then for each changed header:
idt -p build/ --main-file <matching-source.cpp> \
--apply-fixits --inplace <header>
``````````
</details>
<details>
<summary>
View the diff from ids-check here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/IR/FPTransformChecker.h b/llvm/include/llvm/IR/FPTransformChecker.h
index 9bf4948d0..d3cd17daa 100644
--- a/llvm/include/llvm/IR/FPTransformChecker.h
+++ b/llvm/include/llvm/IR/FPTransformChecker.h
@@ -75,8 +75,8 @@ public:
U.Flags = 0;
init(F);
}
- FPTransformChecker(const Instruction *I);
- FPTransformChecker(const SimplifyQuery &Q);
+ LLVM_ABI FPTransformChecker(const Instruction *I);
+ LLVM_ABI FPTransformChecker(const SimplifyQuery &Q);
FPTransformChecker(FastMathFlags FMF) {
U.Flags = 0;
U.F.FastMath = FMF.getAsOpaqueInt();
@@ -119,7 +119,7 @@ public:
private:
FPTransformChecker(unsigned Flags) { U.Flags = 0; }
- void init(const Function *F);
+ LLVM_ABI void init(const Function *F);
void with(const Instruction *I);
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/205138
More information about the llvm-commits
mailing list