llvm-project/llvm/utils
Giorgis Georgakoudis 8bc2c662d9 [Utils] Add prefix parameter in update test checks to avoid FileCheck conflicts
IR values convert to check prefix FileCheck variables for IR checks. For example, nameless values, e.g., %0, convert to check prefix TMP FileCheck variables, e.g., [[TMP0:%.*]]. This check prefix may clash with named values that have the same name and that causes auto-generated tests to fail. Currently a warning is emitted to change the names of the IR values but this is not always possible, if for example they are generated by clang. Manual intervention to fix the FileCheck variable names is too tedious. This patch add a parameter to prefix conflicting FileCheck variable names with a user-provided string to automate the process.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D99415
2021-03-26 11:49:42 -07:00
..
FileCheck [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
KillTheDoctor [KillTheDoctor/CMake] Add missing keyword PRIVATE in target_link_libraries 2020-09-07 16:08:55 +03:00
LLVMVisualizers Fix MSVC natvis visualisation of llvm::FixedVectorTyID and ScalableVectorTyID 2021-02-15 13:43:31 +00:00
Misc
PerfectShuffle
Reviewing
TableGen Add register size info back to MCRegisterClass 2021-03-23 15:04:44 -07:00
Target/ARM
UpdateTestChecks [Utils] Add prefix parameter in update test checks to avoid FileCheck conflicts 2021-03-26 11:49:42 -07:00
benchmark [benchmark] Replace references to M680x0 with M68k 2021-03-06 01:04:36 +00:00
bugpoint
count
crosstool
docker
emacs [Utils] Add missing attributes in syntax files 2021-03-05 17:36:09 +00:00
fpcmp
gdb-scripts Avoid fragile type lookups in GDB pretty printer 2021-01-22 14:56:32 +01:00
git
gn [gn build] Port 5fbe1fdf17 2021-03-24 19:01:21 +00:00
jedit
kate [Utils] Add missing attributes in syntax files 2021-03-05 17:36:09 +00:00
lint
lit [lit] Fix check-lit hanging on Windows due to a division by zero exception 2021-03-24 19:28:33 +02:00
llvm-lit
llvm-locstats
not
release Bump the trunk major version to 13 2021-01-26 19:37:55 -08:00
sanitizers
testgen
textmate
unittest llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
valgrind
vim [Utils][vim] Highlight `poison` keyword 2021-03-19 19:09:11 -07:00
vscode [Utils] Add missing attributes in syntax files 2021-03-05 17:36:09 +00:00
yaml-bench
DSAclean.py
DSAextract.py
GenLibDeps.pl Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
GetSourceVersion
UpdateCMakeLists.pl
abtest.py
add_argument_names.py
bisect
bisect-skip-count
bugpoint_gisel_reducer.py
check-each-file
check_ninja_deps.py
chunk-print-before-all.py
clang-parse-diagnostics-file
codegen-diff Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
collect_and_build_with_pgo.py docs: Add pointer to cmake caches for PGO 2020-12-07 15:55:26 -05:00
convert-constraint-log-to-z3.py Recommit "[ConstraintSystem] Add helpers to deal with linear constraints." 2020-09-15 12:07:26 +01:00
countloc.sh
create_ladder_graph.py
demangle_tree.py
extract-section.py [M68k] Fix extract-section.py under Python 3 2021-03-14 11:36:57 -07:00
extract_symbols.py
extract_vplan.py
findmisopt
findoptdiff
findsym.pl Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
getsrcs.sh
indirect_calls.py
lldbDataFormatters.py [llvm][utils] Fix innocuous off by one in lldb formatters 2021-02-26 08:10:41 -08:00
llvm-compilers-check Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
llvm-gisel-cov.py
llvm-native-gxx Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
llvm-original-di-preservation.py [Debugify][OriginalDIMode] Export the report into JSON file 2021-03-11 01:11:13 -08:00
llvm.grm [NFC] Add x86_amx and some missed half, bfloat keywords to llvm plugin syntaxes 2021-03-03 10:01:10 +08:00
llvmdo
llvmgrep
merge-stats.py
prepare-code-coverage-artifact.py
remote-exec.py Added utility to launch tests on a target remotely. 2020-10-23 20:52:30 +04:00
schedcover.py
shuffle_fuzz.py
shuffle_select_fuzz_tester.py
sort_includes.py
sysroot.py sysroot.py: add support for darwin 2021-02-18 10:48:18 -05:00
unicode-case-fold.py
update_analyze_test_checks.py Fix obvious breakage of update_analysis_test_checks.py from 1ce846b 2021-03-22 11:06:30 -07:00
update_cc_test_checks.py [Utils] Support lit-like substitutions in update_cc_test_checks 2021-03-16 10:36:22 -07:00
update_llc_test_checks.py Replace func name with regex for update test scripts 2021-03-12 17:37:09 -08:00
update_mca_test_checks.py
update_mir_test_checks.py
update_test_checks.py [Utils] Check for more global information in update_test_checks 2021-03-11 23:31:16 -06:00
update_test_prefix.py [utils] Fix UpdateTestChecks case where 2 runs differ for last label 2020-12-15 07:16:54 -08:00
wciia.py