diff options
author | Florian Hahn <flo@fhahn.com> | 2023-11-23 11:35:21 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2023-11-23 11:35:21 +0000 |
commit | 19e6d541889f24e21c7a9a6e021aeb82efd4dcb2 (patch) | |
tree | a8658fb0d430a5df4f238c94c9dfaad8f5b0cc32 /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | 0d9f557b6c36da3aa92daff4c0d37ea821d7ae1e (diff) | |
download | llvm-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