https://bugs.llvm.org/show_bug.cgi?id=48905

            Bug ID: 48905
           Summary: llvm-c breaking changes to LLVMTypeKind and
                    LLVMValueKind
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
          Assignee: unassignedb...@nondot.org
          Reporter: jist...@redhat.com
                CC: llvm-bugs@lists.llvm.org

Compared to LLVM 11, both of these enums have broken the C ABI by adding
variants in the middle, rather than extending the end. This changes the raw
value of all variants that follow the new additions.

- LLVMTypeKind added LLVMX86_AMXTypeKind
- LLVMValueKind added LLVMPoisonValueValueKind

I know that the ABI stability of llvm-c is only best-effort, but Core.h is
usually steady, and it's a simple fix to move these additions to the end.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to