llvm-mc/AsmParser: Separate instruction ordering for ambiguity detection.
authorDaniel Dunbar <daniel@zuster.org>
Sun, 9 Aug 2009 06:05:33 +0000 (06:05 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 9 Aug 2009 06:05:33 +0000 (06:05 +0000)
commit2b54481a77696d47dc9220cd7a36155599750904
tree59b998de1c2765482f82040fc56119ef0cca4e99
parent1ff446fef66a56558afaf427087767424e7a999b
llvm-mc/AsmParser: Separate instruction ordering for ambiguity detection.
 - We want the ordering operation to be simple, since we run it on every
   match. The old ordering is also not a strict weak ordering when there are
   ambiguities, which makes MSVC unhappy.

 - While we are at it, detect all ambiguities instead of just the adjacent
   ones. There are actually 655, for X86.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78526 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/AsmMatcherEmitter.cpp