]> granicus.if.org Git - llvm/commit
[globalisel][tablegen] Add experimental support for OperandWithDefaultOps, PredicateO...
authorDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 12 Apr 2017 08:23:08 +0000 (08:23 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 12 Apr 2017 08:23:08 +0000 (08:23 +0000)
commit81de2d08abea19741a78a14e0288df9975d36998
treec687cb84ceda98af4a36f7d2255adcff4461a6eb
parenta22205806d257629697325c69d8a166539ddc5e3
[globalisel][tablegen] Add experimental support for OperandWithDefaultOps, PredicateOperand, and OptionalDefOperand

Summary:
As far as instruction selection is concerned, all three appear to be same thing.

Support for these operands is experimental since AArch64 doesn't make use
of them and the in-tree targets that do use them (AMDGPU for
OperandWithDefaultOps, AMDGPU/ARM/Hexagon/Lanai for PredicateOperand, and ARM
for OperandWithDefaultOps) are not using tablegen-erated GlobalISel yet.

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

Reviewed By: rovka

Subscribers: inglorion, aemerson, rengolin, mehdi_amini, dberris, kristof.beyls, igorb, tpr, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300037 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/TableGen/Record.h
test/TableGen/GlobalISelEmitter.td
utils/TableGen/GlobalISelEmitter.cpp