https://github.com/AaronBallman approved this pull request. Good catch, I completely forgot that we already had a tablegen way to handle this! LGTM assuming precommit CI comes back clean, thank you for the cleanup! https://github.com/llvm/llvm-project/pull/228035