[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)
commit0ed2882fd41912c4f9f67f1d3ad5d60d284c1fc6
tree7b709750a0a47dafaf429a3f115a5c2150e86186
parent0add8fcb2a70a62e79a4535418877e380694334d
[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

llvm-svn: 300037
llvm/include/llvm/TableGen/Record.h
llvm/test/TableGen/GlobalISelEmitter.td
llvm/utils/TableGen/GlobalISelEmitter.cpp