frederick-vs-ja wrote: BTW, the PR description perfectly ignored what will be got if the enum value matches no enumerator or more than one enumerators. https://github.com/llvm/llvm-project/pull/104777