diff options
author | Vitaly Buka <vitalybuka@google.com> | 2023-05-30 22:58:23 -0700 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2023-06-02 14:32:03 -0700 |
commit | 0375a2dc7d090cd43d8bf54f35ef381854d40cb6 (patch) | |
tree | 54e4acf2444e27a9ca1a821c1feece86284c0651 /llvm/lib/IR/BasicBlock.cpp | |
parent | c42e555dc2b2df45027df62a28314446802cd8b7 (diff) | |
download | llvm-0375a2dc7d090cd43d8bf54f35ef381854d40cb6.zip llvm-0375a2dc7d090cd43d8bf54f35ef381854d40cb6.tar.gz llvm-0375a2dc7d090cd43d8bf54f35ef381854d40cb6.tar.bz2 |
[NFC][sanitizer] Avoid O(N^2) algorithm
Usually root_regions size is small so unlikey
this change will provide a noticable difference.
However it's easy to make sure that even with
large number of root_regions it works reasonably
fast.
Differential Revision: https://reviews.llvm.org/D151781
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions