Add type attributes to LLVM C API
authorChristoffer Lernö <christoffer.lerno@gmail.com>
Fri, 19 Mar 2021 22:55:52 +0000 (18:55 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 19 Mar 2021 23:07:04 +0000 (19:07 -0400)
commit528f6f7d617757addac9b51dd5bcc1ab1352e9be
tree449a083c14411d5a01e2c57750bc9ec12bb9f291
parent4bd2bfb6ec0980853d7f9d1874e0547b68b7a61e
Add type attributes to LLVM C API

The LLVM C API is missing type attributes as is needed by attributes
such as sret and byval. This patch adds three missing wrapper
functions.

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

https://reviews.llvm.org/D97763
llvm/include/llvm-c/Core.h
llvm/lib/IR/Core.cpp