[PATCH] D73832: Ignore/Drop droppable uses for code-sinking in InstCombine

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 23:16:22 PDT 2020


MaskRay added a comment.

In D73832#1942542 <https://reviews.llvm.org/D73832#1942542>, @MaskRay wrote:

> This patch caused an assertion failure on `UserParent = PN->getIncomingBlock(*I->use_begin());` .
>
> This can be triggered when a bootstrapped clang builds llvm-symbolizer with ThinLTO with minimized bitcode files `clang -c -fthinlto-index=AutoUpgrade.o.thinlto.bc AutoUpgrade.bc -O3` (`llvm/lib/IR/AutoUpgrade.cpp`).
>
> I am trying to figure out a minimal reproduce.


Pushed a probable fix: 4c52d51e784ca7603969f2a664e5430d41b9d5dc <https://reviews.llvm.org/rG4c52d51e784ca7603969f2a664e5430d41b9d5dc>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73832





More information about the llvm-commits mailing list