[TableGen] Pull the increment of a variable out of an assert.
authorCraig Topper <craig.topper@intel.com>
Mon, 10 Aug 2020 03:24:54 +0000 (20:24 -0700)
committerCraig Topper <craig.topper@intel.com>
Mon, 10 Aug 2020 03:24:56 +0000 (20:24 -0700)
commit1675f8a2516d0a6f90744aef1066482ee072bbc8
tree516e8e406dea596c3155fc51f779aaecf3d3020f
parenta31b3893c72d7f30b05fc42a26690a331ca7b6ed
[TableGen] Pull the increment of a variable out of an assert.

The variable is only used by the assert so the code was fine
before, but it was flagged in PR47072.
llvm/utils/TableGen/RegisterInfoEmitter.cpp