[all-commits] [llvm/llvm-project] ca7167: [mlir][Transforms][NFC] GreedyPatternRewriteDriver...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu May 25 00:16:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca7167d5a07f703a15ec9c3aea8b8461bf6bac29
      https://github.com/llvm/llvm-project/commit/ca7167d5a07f703a15ec9c3aea8b8461bf6bac29
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp

  Log Message:
  -----------
  [mlir][Transforms][NFC] GreedyPatternRewriteDriver: Add worklist class

Encapsulate all worklist-related functionality in a separate `Worklist` class. This makes the remaining code more readable and allows for custom worklist implementations (e.g., a randomized worklist for fuzzing pattern application: D142447).

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




More information about the All-commits mailing list