[all-commits] [llvm/llvm-project] d2b74d: [TableGen] Handle duplicate rules in combiners (#6...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Tue Oct 17 01:59:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2b74d7e4217b03e9f127505fe42410ab096afe6
      https://github.com/llvm/llvm-project/commit/d2b74d7e4217b03e9f127505fe42410ab096afe6
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    A llvm/test/TableGen/GlobalISelCombinerEmitter/misc/redundant-combine-in-list.td
    M llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp

  Log Message:
  -----------
  [TableGen] Handle duplicate rules in combiners (#69296)

We would crash when a rule was accidentally added twice to a combiner.
This patch adds a warning instead to skip the already-processed rules.




More information about the All-commits mailing list