]> granicus.if.org Git - llvm/commit
[globalisel][tablegen] Add support for importing 'imm' operands.
authorDaniel Sanders <daniel_l_sanders@apple.com>
Tue, 8 Aug 2017 10:44:31 +0000 (10:44 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Tue, 8 Aug 2017 10:44:31 +0000 (10:44 +0000)
commit2ce2d5b7850ad6fe1a99c65b8ccda8c51c78c13e
tree8c40ec34245c36d658dab4b5728a918a01be8497
parent55e10a5d8259c2069af2944479f6cc29cacd6770
[globalisel][tablegen] Add support for importing 'imm' operands.

Summary:
This patch enables the import of rules containing 'imm' operands that do not
constrain the acceptable values using predicates. Support for ImmLeaf will
arrive in a later patch.

Depends on D35681

Reviewers: ab, t.p.northover, qcolombet, rovka, aditya_nandakumar

Reviewed By: rovka

Subscribers: kristof.beyls, javed.absar, igorb, llvm-commits

Differential Revision: https://reviews.llvm.org/D35833

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310343 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/InstructionSelector.h
include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
include/llvm/Target/GlobalISel/SelectionDAGCompat.td
lib/Target/AArch64/AArch64InstructionSelector.cpp
test/CodeGen/AArch64/GlobalISel/select-imm.mir [new file with mode: 0644]
test/CodeGen/X86/GlobalISel/select-inc.mir
test/TableGen/GlobalISelEmitter.td
utils/TableGen/GlobalISelEmitter.cpp