MIR Serialization: Serialize the operand's bit mask target flags.
authorAlex Lorenz <arphaman@gmail.com>
Tue, 18 Aug 2015 22:52:15 +0000 (22:52 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 18 Aug 2015 22:52:15 +0000 (22:52 +0000)
commit6f3cafb93e92e37c994e47cc2e3aa0a4095a9cfc
tree036e43299a6fac37c640007b2ab976a5b0a11e75
parent85826bebece0bb53da548c0356ed591421fed250
MIR Serialization: Serialize the operand's bit mask target flags.

This commit adds support for bit mask target flag serialization to the MIR
printer and the MIR parser. It also adds support for the machine operand's
target flag serialization to the AArch64 target.

Reviewers: Duncan P. N. Exon Smith

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245383 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/MIRParser/MIParser.cpp
lib/CodeGen/MIRPrinter.cpp
lib/Target/AArch64/AArch64InstrInfo.cpp
lib/Target/AArch64/AArch64InstrInfo.h
test/CodeGen/MIR/AArch64/expected-target-flag-name.mir [new file with mode: 0644]
test/CodeGen/MIR/AArch64/invalid-target-flag-name.mir [new file with mode: 0644]
test/CodeGen/MIR/AArch64/target-flags.mir [new file with mode: 0644]