aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2023-11-23 11:35:21 +0000
committerFlorian Hahn <flo@fhahn.com>2023-11-23 11:35:21 +0000
commit19e6d541889f24e21c7a9a6e021aeb82efd4dcb2 (patch)
treea8658fb0d430a5df4f238c94c9dfaad8f5b0cc32 /clang/lib/Frontend/TestModuleFileExtension.cpp
parent0d9f557b6c36da3aa92daff4c0d37ea821d7ae1e (diff)
downloadllvm-19e6d541889f24e21c7a9a6e021aeb82efd4dcb2.zip
llvm-19e6d541889f24e21c7a9a6e021aeb82efd4dcb2.tar.gz
llvm-19e6d541889f24e21c7a9a6e021aeb82efd4dcb2.tar.bz2
[LV] Re-use existing compare if possible for diff checks.
SCEV simplifying the subtraction may result in redundant compares that are all OR'd together. Keep track of the generated operands in SeenCompares, with the key being the pair of operands for the compare. If we alrady generated the same compare previously, skip it.
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions