[all-commits] [llvm/llvm-project] 1598dc: GISel/Combiner: maintain created instructions in a...

Nicolai Hähnle via All-commits all-commits at lists.llvm.org
Wed Dec 7 12:41:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1598dc84bd61226b19c3a012ee72498f1df66758
      https://github.com/llvm/llvm-project/commit/1598dc84bd61226b19c3a012ee72498f1df66758
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/Combiner.cpp

  Log Message:
  -----------
  GISel/Combiner: maintain created instructions in a SetVector

This is not a correctness fix because the set is only used for debug
output. However, it helps avoid noise when looking at diffs between
compiler runs.

The set is only maintained with debug output enabled, so the added cost
should be acceptable.

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




More information about the All-commits mailing list