[#llvm-compareVectors] = xref:llvm.adoc[llvm]::compareVectors :relfileprefix: ../ :mrdocs: Return true if `BB1` and `BB2` contain the same elements ignoring order. == Synopsis Declared in `<llvm/Support/GenericLoopInfoImpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> bool compareVectors( std::vector<T>& BB1, std::vector<T>& BB2); ---- == Description Both vectors are sorted in place before comparison. == Return Value True if the sorted vectors are equal. == Parameters [cols="1,4"] |=== | Name| Description | *BB1* | First vector (sorted in place). | *BB2* | Second vector (sorted in place). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#