diff options
author | Sterling Augustine <saugustine@google.com> | 2022-03-16 16:35:40 -0700 |
---|---|---|
committer | Sterling Augustine <saugustine@google.com> | 2022-03-17 09:02:13 -0700 |
commit | 81417261a15f46284f2613118120d7d6de2bc02d (patch) | |
tree | 2d6e34688ff16b999e228f4b70427bcab3fdb9b8 /llvm/lib/Object/COFFModuleDefinition.cpp | |
parent | d670e1023550b4f18cbb45116de5418d9cef8cdd (diff) | |
download | llvm-81417261a15f46284f2613118120d7d6de2bc02d.zip llvm-81417261a15f46284f2613118120d7d6de2bc02d.tar.gz llvm-81417261a15f46284f2613118120d7d6de2bc02d.tar.bz2 |
Use a stable-sort when combining bases
While experimenting with different algorithms for std::sort
I discovered that combine-vmovdrr.ll fails if this sort is not
stable.
I suspect that the test is too stringent in its check--the resultant
code looks functionally identical to me under both stable and unstable
sorting, but a generic fix is quite a bit more difficult to implement.
Thanks to scw@google.com for finding the proper fix.
Differential Revision: https://reviews.llvm.org/D121870
Diffstat (limited to 'llvm/lib/Object/COFFModuleDefinition.cpp')
0 files changed, 0 insertions, 0 deletions