[Metarenamer] Use 'inst' as default name for instructions
authorMax Kazantsev <mkazantsev@azul.com>
Wed, 15 Feb 2023 08:34:24 +0000 (15:34 +0700)
committerMax Kazantsev <mkazantsev@azul.com>
Wed, 15 Feb 2023 08:35:25 +0000 (15:35 +0700)
commit86a63b2ae147e5a3edc39643783acfd39b059c92
treeb74b46f627b6c8a4abf59be0a8c63fb9be162ed6
parentddc5d40dd285d6422dc66b9aa25064502af3218b
[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
llvm/lib/Transforms/Utils/MetaRenamer.cpp