https://github.com/arsenm approved this pull request. Changing the "I.countOperandBundlesOfType" to just "getOperandBundle" is a clear improvement. Not sure how much better hiding the MD_ constant in the helper function really is https://github.com/llvm/llvm-project/pull/91348