[PATCH] D111276: [ArgumentPromotion] Support opaque pointers

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 28 06:51:01 PST 2022


nikic added a comment.

I looked into this a bit more closely, and unfortunately ArgPromotion will require significant additional work (close to a full rewrite) to support opaque pointers. The core problem is that ArgPromotion is currently based around GEP index structure. With opaque pointers, GEP index structure can be arbitrary. The transform will need to be changed to an offset-based implementation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111276



More information about the llvm-commits mailing list