[PATCH] D120781: [IRLinker] materialize Functions before moving any

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 4 16:43:51 PST 2022


nickdesaulniers added a comment.

In D120781#3361107 <https://reviews.llvm.org/D120781#3361107>, @dexonsmith wrote:

> Result of linking a.ll and b.ll looks to me like it produces a bogus `blockaddress`:

A slightly simpler test, take my `@x` + `@y` test and mark `@x` `linkonce_odr`.  Though I'd argue that's a different case also involving `blockaddress`es which is broken, and my patch doesn't fix, but that seems slightly orthogonal to the bug I'm solving here, which is a concrete LTO failure observed in the wild `Never resolved function from blockaddress`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120781



More information about the llvm-commits mailing list