[PATCH] D37456: [globalisel][tablegen] Import ComplexPattern when used as an operator
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 5 01:24:52 PDT 2017
dsanders created this revision.
Herald added subscribers: kristof.beyls, igorb, javed.absar, aemerson.
It's possible for a ComplexPattern to be used as an operator in a match
pattern. This is used by the load/store patterns in AArch64 to name the
suboperands returned by ComplexPattern predicate so that they can be broken
apart and referenced independently in the result pattern.
This patch adds support for this in order to enable the import of load/store
patterns.
Depends on https://reviews.llvm.org/D37445
https://reviews.llvm.org/D37456
Files:
include/llvm/CodeGen/GlobalISel/InstructionSelector.h
include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
lib/CodeGen/GlobalISel/InstructionSelector.cpp
lib/Target/AArch64/AArch64InstructionSelector.cpp
test/TableGen/GlobalISelEmitter.td
utils/TableGen/GlobalISelEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37456.113806.patch
Type: text/x-patch
Size: 21154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170905/b276da80/attachment.bin>
More information about the llvm-commits
mailing list