[PATCH] D131775: [GVN] Pre-commit test case showing miscompile in github issue #57025

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 07:02:28 PDT 2022


bjope created this revision.
bjope added reviewers: nikic, fhahn.
Herald added a project: All.
bjope requested review of this revision.
Herald added a project: LLVM.

This commit adds a reproducer for

  https://github.com/llvm/llvm-project/issues/57025

showing a miscompile in GVN.

Not sure how likely this kind of faults would be in a normal pipeline,
considering that the input IR has some dead code in it. On the other
hand, GVN itself sometimes creates dead basic blocks when splitting
critical edges. Anyway, the fault was found when doing fuzzy testing
using random pass pipelines.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131775

Files:
  llvm/test/Transforms/GVN/memdep-unknown-deadblocks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131775.452175.patch
Type: text/x-patch
Size: 5798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220812/b964bf22/attachment.bin>


More information about the llvm-commits mailing list