[llvm] [llvm-c][ocaml] Deprecate/replace constexpr GEP APIs (PR #228998)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 5 01:40:00 PDT 2026
================
@@ -355,6 +355,12 @@ module ModuleFlagBehavior = struct
| AppendUnique
end
+module GEPNoWrapFlags = struct
+ let inbounds = 1
+ let nusw = 2
+ let nuw = 4
+end
----------------
artagnon wrote:
```suggestion
module GEPNoWrapFlags = struct
let none = 0
let inbounds = 1
let nusw = 2
let nuw = 4
end
```
To avoid the special 0 value?
https://github.com/llvm/llvm-project/pull/228998
More information about the llvm-commits
mailing list