[PATCH] D130353: [Docs] Update GEP docs for opaque pointers

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 07:12:27 PDT 2022


aeubanks accepted this revision.
aeubanks added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/docs/GetElementPtr.rst:246-248
+``%idx2`` is also ``MyVar+40``. Before opaque pointers were introduced, these
+two GEPs at least differed in the result type (``i32*`` vs ``{ [10 x i32] }*``),
+but nowadays these two GEPs are strictly the same.
----------------
not sure if it's worth mentioning pre-opaque pointers


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130353/new/

https://reviews.llvm.org/D130353



More information about the llvm-commits mailing list