diff --git a/llvm/lib/Target/AArch64/AArch64InstrFormats.td b/llvm/lib/Target/AArch64/AArch64InstrFormats.td --- a/llvm/lib/Target/AArch64/AArch64InstrFormats.td +++ b/llvm/lib/Target/AArch64/AArch64InstrFormats.td @@ -11455,6 +11455,7 @@ let DecoderMethod = "DecodeCPYMemOpInstruction"; let mayLoad = 1; let mayStore = 1; + let Defs = [NZCV]; } class MOPSMemoryCopy opcode, bits<2> op1, bits<2> op2, string asm> @@ -11487,6 +11488,7 @@ let DecoderMethod = "DecodeSETMemOpInstruction"; let mayLoad = 0; let mayStore = 1; + let Defs = [NZCV]; } class MOPSMemorySet opcode, bit op1, bit op2, string asm>