[all-commits] [llvm/llvm-project] 794f74: Fix MLIR test pass crash

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Jul 24 19:55:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 794f74e2574331d30183887d733d151978006a33
      https://github.com/llvm/llvm-project/commit/794f74e2574331d30183887d733d151978006a33
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M mlir/test/lib/Transforms/TestConstantFold.cpp

  Log Message:
  -----------
  Fix MLIR test pass crash

The pass tried to fold in reverse-post-order, but it cause an issue
when a parent is folded before the chilren as they will still be
present in the worklist.
Use reverse-preorder instead here.

Fixes #64089




More information about the All-commits mailing list