[llvm] [llubi] Add support for GEP/alloca/inttoptr (PR #181861)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 18 09:18:10 PST 2026


================
@@ -129,6 +133,8 @@ class Context {
   // For now we don't model the behavior of address reuse, which is common
   // with stack coloring.
   uint64_t AllocationBase = 8;
+  // Maintains a global list of ‘exposed’ provenances. This is used to form a
+  // pointer with an exposed provenance.
----------------
boomanaiden154 wrote:

Agreed this isn't used by this patch.

I still think I'm missing something here. We add exposed provenances to the list, but we shouldn't need the list to form a pointer with an exposed provenance? I thought the list would only be relevant in a case where we do something like `inttoptr` to construct a pointer with nullary provenance and then its provenance ends up being the set of previously exposed provenances.

https://github.com/llvm/llvm-project/pull/181861


More information about the llvm-commits mailing list