-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mono][llvm] Refactor code to make it easier to support LLVM 13.x in … (
#67692) * [mono][llvm] Refactor code to make it easier to support LLVM 13.x in the future * Remove some c++ functions which can be implemented using the C API. * Use call_intrins in more places. * Use the const_int32 ()/const_int64 () helper functions in more places. * Use opaque pointer type APIs. LLVM is transitioning to using opaque pointer types, i.e. pointer types with no element type. Transition the LLVM backend to do the same. * Add an 'Address' structure which represents a pointer value and its element type, use it in places where the element type of a pointer is not locally available, like for globals. * Use LLVMBuildCall2/BuildInvoke2 functions where possible. * Fix the build.
- Loading branch information
Showing
3 changed files
with
423 additions
and
433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.