[all-commits] [llvm/llvm-project] cfe597: [MLIR] Fix SCF verifier crash (#153974)

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Aug 18 03:49:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfe5975eaf0adf333c8210925318a7a43b1750de
      https://github.com/llvm/llvm-project/commit/cfe5975eaf0adf333c8210925318a7a43b1750de
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2025-08-18 (Mon, 18 Aug 2025)

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

  Log Message:
  -----------
  [MLIR] Fix SCF verifier crash (#153974)

An operand of the nested yield op can be null and hasn't been verified
yet when processing the enclosing operation. Using `getResultTypes()`
will dereference this null Value and crash in the verifier.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list