Reuse LLVMConstInBoundsGEP2

We have had LLVM 14 as our minimum for a bit now.
This commit is contained in:
Jubilee Young 2023-07-10 00:19:06 -07:00
parent 71f71a5397
commit 0726c7826b
3 changed files with 3 additions and 14 deletions

View file

@ -1155,7 +1155,7 @@ extern "C" {
pub fn LLVMConstVector(ScalarConstantVals: *const &Value, Size: c_uint) -> &Value;
// Constant expressions
pub fn LLVMRustConstInBoundsGEP2<'a>(
pub fn LLVMConstInBoundsGEP2<'a>(
ty: &'a Type,
ConstantVal: &'a Value,
ConstantIndices: *const &'a Value,