[all-commits] [llvm/llvm-project] e84aa5: Fix Block::eraseArgument when block arg is also a ...

Sean Silva via All-commits all-commits at lists.llvm.org
Wed Feb 19 09:25:13 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e84aa5922b1cc8e40f60a560c3803122d820c53d
      https://github.com/llvm/llvm-project/commit/e84aa5922b1cc8e40f60a560c3803122d820c53d
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M mlir/lib/IR/Block.cpp

  Log Message:
  -----------
  Fix Block::eraseArgument when block arg is also a successor operand.

Summary:
This could trigger an assertion due to the block argument being used by
this block's own successor operands.

Reviewers: rriddle!

Subscribers: mehdi_amini, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list