diff options
author | Florian Hahn <flo@fhahn.com> | 2024-09-28 21:24:17 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-09-28 21:24:17 +0100 |
commit | 6022a3a05f951632022c84416209fe6d70d9105c (patch) | |
tree | fb053590b6898bb007e28f074bc16fe03184e5bc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d3ca4844062411ae1b962e41636f3461d46a5b92 (diff) | |
download | llvm-6022a3a05f951632022c84416209fe6d70d9105c.zip llvm-6022a3a05f951632022c84416209fe6d70d9105c.tar.gz llvm-6022a3a05f951632022c84416209fe6d70d9105c.tar.bz2 |
[SCEV] Store predicates for EL/ENT in SmallVector.
Store predicates in ExitLimit and ExitNotTaken in a SmallVector instead
of a SmallPtrSet. This guarantees the predicates can be iterated on in a
predictable manner. This ensures the predicates can be printed and
generated in a predictable order.
This shifts de-duplication of predicates to construction time for
ExitLimit. ExitNotTaken just takes predicates from ExitLimit, so they
should also be free of duplicates.
This was exposed by 2f7ccaf4a8565628a4c7d2b5a49bb45478940be6
(https://github.com/llvm/llvm-project/pull/108777).
Should fix https://lab.llvm.org/buildbot/#/builders/110/builds/1494.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions