[all-commits] [llvm/llvm-project] 702f06: Fix crash in the pass pipeline when local reproduc...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Sep 21 01:53:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 702f06ad14ac61d364b773e5a1f4d8b0b0214553
      https://github.com/llvm/llvm-project/commit/702f06ad14ac61d364b773e5a1f4d8b0b0214553
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M mlir/lib/Pass/Pass.cpp
    M mlir/test/Pass/crash-recovery.mlir

  Log Message:
  -----------
  Fix crash in the pass pipeline when local reproducer is enabled

This crash only happens when a function pass is followed by a module
pass. In this case the splitting of the pass pipeline didn't handle
properly the verifier passes and ended up with an odd number of pass in
the pipeline, breaking an assumption of the local crash reproducer
executor and hitting an assertion.

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




More information about the All-commits mailing list