[PATCH] MIR Serialization: Serialize the null register operands.
Alex Lorenz
arphaman at gmail.com
Fri Jun 19 15:27:34 PDT 2015
Hi dexonsmith, bob.wilson, bogner,
This patch is based on a previous serialization patch that serializes immediate operands (http://reviews.llvm.org/D10573).
This patch serializes the null register machine operands. It uses the '_' keyword to represent them, but you can also refer to them in the input source by using the '%noreg' named register syntax. Example:
- '%eax = MOV32rm %rdi, 1, _, 0, %noreg'
- 'RETQ %eax'
REPOSITORY
rL LLVM
http://reviews.llvm.org/D10580
Files:
lib/CodeGen/MIRParser/MILexer.cpp
lib/CodeGen/MIRParser/MILexer.h
lib/CodeGen/MIRParser/MIParser.cpp
lib/CodeGen/MIRPrinter.cpp
test/CodeGen/MIR/X86/null-register-operands.mir
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10580.28054.patch
Type: text/x-patch
Size: 3572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150619/b5da5708/attachment.bin>
More information about the llvm-commits
mailing list