aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ValueTracking.cpp
diff options
context:
space:
mode:
authorGiorgis Georgakoudis <georgakoudis1@llnl.gov>2021-03-26 05:58:05 -0700
committerGiorgis Georgakoudis <georgakoudis1@llnl.gov>2021-03-26 11:49:42 -0700
commit8bc2c662d9c0f241fb8538979f8db1af7f2e353e (patch)
treea6fbf6a1999e32fb14ef4d7483be747dbe911504 /llvm/lib/Analysis/ValueTracking.cpp
parentdb694c52b4aae2516df777dbc66f5546ad4ee35d (diff)
downloadllvm-8bc2c662d9c0f241fb8538979f8db1af7f2e353e.zip
llvm-8bc2c662d9c0f241fb8538979f8db1af7f2e353e.tar.gz
llvm-8bc2c662d9c0f241fb8538979f8db1af7f2e353e.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions