[all-commits] [llvm/llvm-project] f2c976: [TableGen] Handle (outs variable_ops)
dantrushin via All-commits
all-commits at lists.llvm.org
Thu Jun 4 06:08:20 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f2c97656644e783622a6e60fe452b41ffe0f1d18
https://github.com/llvm/llvm-project/commit/f2c97656644e783622a6e60fe452b41ffe0f1d18
Author: Denis Antrushin <dantrushin at gmail.com>
Date: 2020-06-04 (Thu, 04 Jun 2020)
Changed paths:
M llvm/utils/TableGen/CodeGenInstruction.cpp
Log Message:
-----------
[TableGen] Handle (outs variable_ops)
When `variable_ops` is specified in `InOperandList` of instruction,
it behaves as expected, i.e., does not count as operand.
So for `(ins variable_ops)` instruction description will have 0
operands. However when used in OutOperandList it is counted as
operand. So `(outs variable_ops)` results in instruction with
one def.
This patch makes behavior of `variable_ops` in `out` list to match
that of `in` list.
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D81095
More information about the All-commits
mailing list