diff options
author | Denis Antrushin <dantrushin@gmail.com> | 2020-06-03 17:08:48 +0300 |
---|---|---|
committer | Denis Antrushin <dantrushin@gmail.com> | 2020-06-04 16:07:33 +0300 |
commit | f2c97656644e783622a6e60fe452b41ffe0f1d18 (patch) | |
tree | 9a544f90ab5a7d4c704545c443e0e6a3e14c8d25 /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 8ccb9f98ea98d0a5db179c10431fc25b9a20a1c6 (diff) | |
download | llvm-f2c97656644e783622a6e60fe452b41ffe0f1d18.zip llvm-f2c97656644e783622a6e60fe452b41ffe0f1d18.tar.gz llvm-f2c97656644e783622a6e60fe452b41ffe0f1d18.tar.bz2 |
[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
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions