[all-commits] [llvm/llvm-project] aa568e: [mlir:GreedyDriver] Return WalkResult::skip after ...

River Riddle via All-commits all-commits at lists.llvm.org
Wed May 18 02:18:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa568e082b4c0aa1cfbc8d1937544af8adbde552
      https://github.com/llvm/llvm-project/commit/aa568e082b4c0aa1cfbc8d1937544af8adbde552
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

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

  Log Message:
  -----------
  [mlir:GreedyDriver] Return WalkResult::skip after deleting a known constant

This avoids use-after-free when trying to access the regions after visiting
the operation.




More information about the All-commits mailing list