[all-commits] [llvm/llvm-project] 0230d6: [MLIR][OneShotBufferize] Fix opFilter init (#130633)

RoboTux via All-commits all-commits at lists.llvm.org
Mon Mar 10 15:36:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0230d63b4a8b9f420b0aaac373891df1199715a8
      https://github.com/llvm/llvm-project/commit/0230d63b4a8b9f420b0aaac373891df1199715a8
  Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp

  Log Message:
  -----------
  [MLIR][OneShotBufferize] Fix opFilter init (#130633)

OneShotBufferizePass's opFilter definition in runOnOperation() fails to
allow operations for all dialect when the dialectFilter has an empty
array value (as opposed to no value). This happens when constructing
OneShotBufferizePass from a OneShotBufferizePassOptions parameter with
an empty dialectFilter. This commit only does filtering if filterDialect
option has a value and it is not an empty array.



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