[all-commits] [llvm/llvm-project] d56ef5: [mlir-tblgen] Fix non-deterministic generating sta...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Mon Feb 28 10:41:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d56ef5ed20c5c1380c2d97e970c8fc4d4166bdb8
      https://github.com/llvm/llvm-project/commit/d56ef5ed20c5c1380c2d97e970c8fc4d4166bdb8
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2022-02-28 (Mon, 28 Feb 2022)

  Changed paths:
    M mlir/include/mlir/TableGen/CodeGenHelpers.h
    M mlir/tools/mlir-tblgen/CodeGenHelpers.cpp
    M mlir/tools/mlir-tblgen/RewriterGen.cpp

  Log Message:
  -----------
  [mlir-tblgen] Fix non-deterministic generating static verifier in DRR.

Use SetVector instead of DenseSet to ensure we always generate the same
name for the same function. This issue is found in
https://github.com/llvm/llvm-project/issues/53768.

Reviewed By: quinnp, rdzhabarov

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




More information about the All-commits mailing list