[PATCH] D104950: [OpaquePtr] Support forward references in textual IR

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 26 01:59:49 PDT 2021


nikic added a comment.

My suspicion here is that this happens whenever an explicit `uselistorder` for the forward declaration is present inside a function. In that case we'll perform the use list order sort on the forward declaration, and rauw it later, breaking the order. Though I don't really understand how per-function uselistorder for global symbols is even supposed to work -- shouldn't this uselistorder be at the module level?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104950



More information about the llvm-commits mailing list