Index: clang/utils/TableGen/RISCVVEmitter.cpp =================================================================== --- clang/utils/TableGen/RISCVVEmitter.cpp +++ clang/utils/TableGen/RISCVVEmitter.cpp @@ -641,6 +641,7 @@ SR.RequiredExtensions |= RequireExt; } + SR.PolicyBitMask = 0; SR.NF = NF; SR.HasMasked = HasMasked; SR.HasVL = HasVL;