diff options
author | Paul Kirth <paulkirth@google.com> | 2023-01-19 16:14:43 +0000 |
---|---|---|
committer | Paul Kirth <paulkirth@google.com> | 2023-01-19 20:04:14 +0000 |
commit | af9a452e57554c2c5e876986e33c2a75314259e8 (patch) | |
tree | 3631527941221cb0af5ecd565a7ca1f927cf1cd7 /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 887240faf769395511d1568b4e50aafc6fe3b696 (diff) | |
download | llvm-af9a452e57554c2c5e876986e33c2a75314259e8.zip llvm-af9a452e57554c2c5e876986e33c2a75314259e8.tar.gz llvm-af9a452e57554c2c5e876986e33c2a75314259e8.tar.bz2 |
[llvm][codegen] Fix non-determinism in StackFrameLayoutAnalysisPass output
We were iterating over a SmallPtrSet when outputting slot variables.
This is still correct but made the test fail under reverse iteration.
This patch replaces the SmallPtrSet with a SmallVector.
Also remove the "Stack Frame Layout" lines from arm64-opt-remarks-lazy-bfi test,
since those also break under reverse iteration.
Reviewed By: nickdesaulniers
Differential Revision: https://reviews.llvm.org/D142127
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions