https://github.com/RKSimon requested changes to this pull request. why did you make all those changes to the builtins? There should be no need for mask/maskz builtins as these are handled by a select wrapper. https://github.com/llvm/llvm-project/pull/161210