[PATCH] D144518: Preserve the address space for llvm.used and llvm.compiler.used global variables in GlobalOpt pass.

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 11:14:08 PDT 2023


aeubanks accepted this revision.
aeubanks added a comment.
This revision is now accepted and ready to land.

lg with nit



================
Comment at: llvm/lib/Transforms/IPO/GlobalOpt.cpp:2124
+
+  ElemAddrSpace = VEPT->getAddressSpace();
+
----------------
just inline this below instead of having a `ElemAddrSpace` variable


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

https://reviews.llvm.org/D144518



More information about the llvm-commits mailing list