[C API] Add getter/setter for samesign flag on icmp (#145247)

This was added to the C++ API in
https://github.com/llvm/llvm-project/pull/111419 so this change adds
accessors in the C API, along with a couple tests.
This commit is contained in:
Benji Smith
2025-06-22 18:05:17 -04:00
committed by GitHub
parent 40eee8ec7f
commit 8f01edfa11
5 changed files with 39 additions and 0 deletions

View File

@@ -251,6 +251,9 @@ Changes to the C API
* Added ``LLVMDIBuilderCreateEnumeratorOfArbitraryPrecision`` for creating
debugging metadata of enumerators larger than 64 bits.
* Added ``LLVMGetICmpSameSign`` and ``LLVMSetICmpSameSign`` for the `samesign`
flag on `icmp` instructions.
Changes to the CodeGen infrastructure
-------------------------------------