diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -365,7 +365,7 @@ of clang; use the ``-fclang-abi-compat=14`` option to get the old mangling. - Preprocessor character literals with a ``u8`` prefix are now correctly treated as unsigned character literals. This fixes `Issue 54886 `_. -- Stopped allowing constriants on non-template functions to be compliant with +- Stopped allowing constraints on non-template functions to be compliant with dcl.decl.general p4. C++20 Feature Support diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp b/llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp --- a/llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp +++ b/llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp @@ -278,7 +278,7 @@ // MASKZ: zmmX {%kY} {z} if (MaskWithZero) - OS << " {z}"; + OS << "{z}"; } static bool printFMAComments(const MCInst *MI, raw_ostream &OS, diff --git a/llvm/lib/Target/X86/X86MCInstLower.cpp b/llvm/lib/Target/X86/X86MCInstLower.cpp --- a/llvm/lib/Target/X86/X86MCInstLower.cpp +++ b/llvm/lib/Target/X86/X86MCInstLower.cpp @@ -1877,7 +1877,7 @@ CS << " {%" << GetRegisterName(WriteMaskOp.getReg()) << "}"; if (SrcOp1Idx == 2) { - CS << " {z}"; + CS << "{z}"; } } }