[all-commits] [llvm/llvm-project] 86a63b: [Metarenamer] Use 'inst' as default name for instr...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Wed Feb 15 00:36:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86a63b2ae147e5a3edc39643783acfd39b059c92
      https://github.com/llvm/llvm-project/commit/86a63b2ae147e5a3edc39643783acfd39b059c92
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/MetaRenamer.cpp

  Log Message:
  -----------
  [Metarenamer] Use 'inst' as default name for instructions

Currently we use 'tmp', which is also a keyword for FileCheck. It leads to this
annoying warning whenever a script for auto-generation of checks is used.
It is especially annoying that it happens to every test affected by metarenamer.

Just use another prefix for metarenamed names to avoid this.

Differential Revision: https://reviews.llvm.org/D144001
Reviewed By: nikic




More information about the All-commits mailing list