diff options
author | Piyou Chen <piyou.chen@sifive.com> | 2023-09-20 23:43:01 -0700 |
---|---|---|
committer | Piyou Chen <piyou.chen@sifive.com> | 2023-09-21 02:39:10 -0700 |
commit | 13e9a56854c3a5ffddeafb8755facb74d2b74121 (patch) | |
tree | b6bccf446a863a8950773542073c187836a5e912 /lldb/source/Commands/CommandObjectGUI.cpp | |
parent | 0ce4b86efd439c94f991484e256d8cfcafffda0b (diff) | |
download | llvm-13e9a56854c3a5ffddeafb8755facb74d2b74121.zip llvm-13e9a56854c3a5ffddeafb8755facb74d2b74121.tar.gz llvm-13e9a56854c3a5ffddeafb8755facb74d2b74121.tar.bz2 |
[RISCV] Add overlapping constraints label
The RISCV-V-Spec[1] describes which RVV instructions are allowed to overlap between source operands and destination operands. Currently, most of these instructions are constrained with early-clobber.
This patch labels these instructions with TargetOverlapConstraintType in pseudo to indicate that these instructions can overlap.
The value of TargetOverlapConstraintType is:
1 -> default
2 -> narrow case
3 -> widen case
This information is useful for future optimization passes.
[1] https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#52-vector-operands
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D157588
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions