This is an archive of the discontinued LLVM Phabricator instance.

[TableGen] Make OpcodeMappings sort comparator deterministic NFCI
ClosedPublic

Authored by andrewng on Feb 26 2019, 10:22 AM.

Details

Summary

The previous sort comparator was not deterministic, i.e. in some
situations it would be possible for lhs < rhs && rhs < lhs. This was
discovered by an STL assertion in a Windows debug build of llvm-tblgen.

Diff Detail

Repository
rL LLVM