[all-commits] [llvm/llvm-project] eaf20c: [mlir] Fix a cast that should be a dyn_cast.

Johannes Reifferscheid via All-commits all-commits at lists.llvm.org
Thu Sep 22 04:13:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaf20c4fc257db0bcbd97b0f39836a53eeb3039a
      https://github.com/llvm/llvm-project/commit/eaf20c4fc257db0bcbd97b0f39836a53eeb3039a
  Author: Johannes Reifferscheid <jreiffers at google.com>
  Date:   2022-09-22 (Thu, 22 Sep 2022)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/SCF/one-shot-bufferize.mlir

  Log Message:
  -----------
  [mlir] Fix a cast that should be a dyn_cast.

This fixes a crash for certain IR, see the new test case for an
example.

Reviewed By: ftynse

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




More information about the All-commits mailing list