[llvm] [TableGen] Fix the non-determinism in DFAPacketizerEmitter.cpp (PR #192037)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 04:28:14 PDT 2026


================

----------------
s-barannikov wrote:

There is
```C++
struct LessRecord {
  bool operator()(const Record *Rec1, const Record *Rec2) const {
    return Rec1->getName().compare_numeric(Rec2->getName()) < 0;
  }
};
```
in Record.h that's supposed to do the same.
Or you can just use SetVector (although I'm not sure which is better).


https://github.com/llvm/llvm-project/pull/192037


More information about the llvm-commits mailing list