[PATCH] D152772: [LoopSink] Allow sinking to PHI-use

Alexander Kornienko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 07:35:57 PDT 2023


alexfh added a comment.

We're still trying to get a reproducer, but it's somewhat complicated given that the issue happens in ThinLTO builds. The problem manifests as:

  Instruction does not dominate all uses!
    %1480 = getelementptr inbounds %"class.absl::AlphaNum", ptr %24, i64 0, i32 1
    %1478 = phi ptr [ %1476, %1474 ], [ %1480, %1472 ]
  fatal error: error in backend: Broken module found, compilation aborted!

Please revert while we're preparing a test case!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152772



More information about the llvm-commits mailing list