[PATCH] D33590: [globalisel][tablegen] Add support for COPY_TO_REGCLASS.
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 26 03:40:28 PDT 2017
dsanders created this revision.
Herald added subscribers: igorb, javed.absar.
As part of this
- Emitted instructions now have named MachineInstr variables associated with them. This isn't particularly important yet but it's a small step towards multiple-insn emission.
- constrainSelectedInstRegOperands() is no longer hardcoded. It's now added as the ConstrainOperandsToDefinitionAction() action. COPY_TO_REGCLASS uses an alternate constraint mechanism ConstrainOperandToRegClassAction() which supports arbitrary constraints such as that defined by COPY_TO_REGCLASS.
https://reviews.llvm.org/D33590
Files:
include/llvm/CodeGen/GlobalISel/InstructionSelector.h
include/llvm/CodeGen/GlobalISel/Utils.h
lib/CodeGen/GlobalISel/InstructionSelector.cpp
lib/CodeGen/GlobalISel/Utils.cpp
test/CodeGen/AArch64/GlobalISel/select-bitcast.mir
test/TableGen/GlobalISelEmitter.td
utils/TableGen/GlobalISelEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33590.100380.patch
Type: text/x-patch
Size: 15568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170526/5b376dfc/attachment.bin>
More information about the llvm-commits
mailing list