[all-commits] [llvm/llvm-project] 787d77: [mlir] Don't return nullptrs from scf::IfOp::getSu...

Tres via All-commits all-commits at lists.llvm.org
Tue Feb 16 03:06:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 787d771dce71af03bc23527ca95fcb858934ae7a
      https://github.com/llvm/llvm-project/commit/787d771dce71af03bc23527ca95fcb858934ae7a
  Author: Tres Popp <tpopp at google.com>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mlir/lib/Dialect/SCF/SCF.cpp

  Log Message:
  -----------
  [mlir] Don't return nullptrs from scf::IfOp::getSuccessorRegions

Previously this might happen if there was no elseRegion and the method
was asked for all successor regions.

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




More information about the All-commits mailing list