[PATCH] D63855: [ADCE] Fix for non-determistic uselists after dead block removal

Gerolf Hoflehner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 17:16:04 PDT 2019


Gerolf created this revision.
Gerolf added reviewers: hfinkel, dblaikie, majnemer.
Herald added a project: LLVM.

The order of blocks in BlocksWithDeadTerminators may impact uselists.
They can differ from run to run for the same input. The attached test case is
only meant to show the problem to anyone interested. It is not a test I plan to
commit, at least not in its current form.


Repository:
  rL LLVM

https://reviews.llvm.org/D63855

Files:
  lib/Transforms/Scalar/ADCE.cpp
  test/Transforms/ADCE/adce_random0.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63855.206772.patch
Type: text/x-patch
Size: 3732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190627/e02c0db8/attachment.bin>


More information about the llvm-commits mailing list