[llvm] [C API] Add accessors for new no-wrap flags on GEP instructions (PR #97970)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 07:27:24 PDT 2024
================
@@ -2395,6 +2409,10 @@ LLVMValueRef LLVMConstGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal,
LLVMValueRef LLVMConstInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal,
LLVMValueRef *ConstantIndices,
unsigned NumIndices);
+LLVMValueRef LLVMConstGEPWithWrapFlags(LLVMTypeRef Ty, LLVMValueRef ConstantVal,
----------------
nikic wrote:
```suggestion
LLVMValueRef LLVMConstGEPWithNoWrapFlags(LLVMTypeRef Ty, LLVMValueRef ConstantVal,
```
Here and elsewhere. Calling these wrap flags rather than nowrap flags is kind of unusual.
https://github.com/llvm/llvm-project/pull/97970
More information about the llvm-commits
mailing list