[all-commits] [llvm/llvm-project] 3aab9d: [GVN] Pre-commit test case showing miscompile in g...

Björn Pettersson via All-commits all-commits at lists.llvm.org
Thu Sep 1 05:45:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3aab9d2bb7f38f4d00b16817711fbfac8f75b51b
      https://github.com/llvm/llvm-project/commit/3aab9d2bb7f38f4d00b16817711fbfac8f75b51b
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2022-09-01 (Thu, 01 Sep 2022)

  Changed paths:
    A llvm/test/Transforms/GVN/memdep-unknown-deadblocks.ll

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

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.

Differential Revision: https://reviews.llvm.org/D131775




More information about the All-commits mailing list