Index: clang/utils/TableGen/RISCVVEmitter.cpp =================================================================== --- clang/utils/TableGen/RISCVVEmitter.cpp +++ clang/utils/TableGen/RISCVVEmitter.cpp @@ -1184,7 +1184,7 @@ } if (HasPolicy) { - ProtoMaskSeq.push_back("z"); + ProtoMaskSeq.push_back("Kz"); } // Create Intrinsics for each type and LMUL.