[GlobalISel] Don't use Register type for getNumOperands(). NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 5 Nov 2020 15:34:55 +0000 (15:34 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 5 Nov 2020 17:12:58 +0000 (17:12 +0000)
commit7fe7c6d3be888e4c504f62e3412c7e89358dfc28
tree622d6b9815d0722d9a86c9571bb0316da7e3fe34
parentd413f4bc62e56a6db64b021e132691d330d1e1c8
[GlobalISel] Don't use Register type for getNumOperands(). NFCI.

Copy+Paste typo - we were storing getNumOperands() opcounts in a Register type instead of just an unsigned.
llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp