[TableGen] Use count_if instead of a manual loop. NFC
authorCraig Topper <craig.topper@intel.com>
Wed, 21 Mar 2018 19:30:30 +0000 (19:30 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 21 Mar 2018 19:30:30 +0000 (19:30 +0000)
commit06d783765a0740dbb486da4d2d2928442f065fe5
treec3fa3c7c1eab2fa694520583b65022881fb41cc7
parent2854dc93e1efe3086f55ca187284de53149b860e
[TableGen] Use count_if instead of a manual loop. NFC

llvm-svn: 328137
llvm/utils/TableGen/CodeGenSchedule.cpp