https://github.com/kuhar requested changes to this pull request. I don't understand when this could happen. Could you add a lit test? If the value is an integer attr, the type must be either bool or int, no? https://github.com/llvm/llvm-project/pull/157457