diff --git a/clang/include/clang/Support/RISCVVIntrinsicUtils.h b/clang/include/clang/Support/RISCVVIntrinsicUtils.h --- a/clang/include/clang/Support/RISCVVIntrinsicUtils.h +++ b/clang/include/clang/Support/RISCVVIntrinsicUtils.h @@ -99,8 +99,8 @@ Agnostic, Omit, // No policy required. }; - PolicyType TailPolicy = Omit; - PolicyType MaskPolicy = Omit; + PolicyType TailPolicy = Agnostic; + PolicyType MaskPolicy = Undisturbed; bool HasTailPolicy, HasMaskPolicy; Policy(bool HasTailPolicy, bool HasMaskPolicy) : IsUnspecified(true), HasTailPolicy(HasTailPolicy),