[all-commits] [llvm/llvm-project] de58a4: [mlir][Analysis] Guard data flow analysis from no ...

Kai Sasaki via All-commits all-commits at lists.llvm.org
Tue Feb 21 22:28:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de58a4f163006de0d2f2b905fa0677c83aa326d8
      https://github.com/llvm/llvm-project/commit/de58a4f163006de0d2f2b905fa0677c83aa326d8
  Author: Kai Sasaki <lewuathe at gmail.com>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    A mlir/test/Analysis/invalid.mlir
    M mlir/test/lib/Analysis/TestDataFlowFramework.cpp

  Log Message:
  -----------
  [mlir][Analysis] Guard data flow analysis from no block function

Foo analysis for testing the data flow analysis does not support the region without any block. Although that analysis is assumed to be used for testing purpose, it is generally better to be explicit about the scope the framework supports.

The original issue was reported here.
https://github.com/llvm/llvm-project/issues/60580

Reviewed By: springerm

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




More information about the All-commits mailing list