[PATCH] D22398: MIRParser: Allow register class specification on operand

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 20:18:21 PDT 2016


MatzeB created this revision.
MatzeB added reviewers: qcolombet, arphaman.
MatzeB added a subscriber: llvm-commits.
MatzeB set the repository for this revision to rL LLVM.
Herald added a subscriber: mcrosier.

You can now define the register class of a virtual register on the
operand itself avoiding the need to use a "registers:" block.

Example: "%0:gr64 = COPY %rax"

Repository:
  rL LLVM

https://reviews.llvm.org/D22398

Files:
  lib/CodeGen/MIRParser/MIParser.cpp
  lib/CodeGen/MIRParser/MIParser.h
  lib/CodeGen/MIRParser/MIRParser.cpp
  test/CodeGen/MIR/X86/register-operand-class-invalid0.mir
  test/CodeGen/MIR/X86/register-operand-class-invalid1.mir
  test/CodeGen/MIR/X86/register-operand-class.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22398.64085.patch
Type: text/x-patch
Size: 6919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160715/a5a63f91/attachment.bin>


More information about the llvm-commits mailing list