[SystemZ] Recognize .machine directive in parser.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Sun, 12 Sep 2021 15:16:35 +0000 (17:16 +0200)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Fri, 17 Sep 2021 10:03:54 +0000 (12:03 +0200)
commit1a5ab3e97c15708a0a9a19b3b0ccee73b0d757aa
tree32e7a145d61ecc974bb430884d04ea2a1d638dcb
parentd477a7c2e704f58be816159cd8ac11d5384334b5
[SystemZ]  Recognize .machine directive in parser.

The .machine directive can be used in assembly files to specify the ISA for
the instructions following it.

Review: Ulrich Weigand
Differential Revision: https://reviews.llvm.org/D109660
llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp
llvm/lib/Target/SystemZ/SystemZTargetStreamer.h [new file with mode: 0644]
llvm/test/MC/SystemZ/machine-directive.s [new file with mode: 0644]