diff options
author | Philip Reames <preames@rivosinc.com> | 2022-09-14 14:39:09 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-09-14 14:45:01 -0700 |
commit | 0a145516a24bdda0440754adc162649f788ba673 (patch) | |
tree | b823bcba3811e3e988b6e27225d93d1d2e7b8410 /lldb/source/Interpreter/CommandObject.cpp | |
parent | cb21b7d274e940c2ac15d5f486841e175c63928c (diff) | |
download | llvm-0a145516a24bdda0440754adc162649f788ba673.zip llvm-0a145516a24bdda0440754adc162649f788ba673.tar.gz llvm-0a145516a24bdda0440754adc162649f788ba673.tar.bz2 |
[RISCV] Fix a silent miscompile in copyPhysReg
Found this when adding verifier rules. The case which arises is that we have a DefMBBI which has a VecPolicy operand. The code was not expecting this, and the unconditional copy of the last two operands resulted in the SEW and VecPolicy fields being added to the VMV_V_V as AVL and SEW respectively.
Oddly, this appears to be a silent in practice. There's no test change despite verifier changes proving that we definitely hit this in existing tests.
Differential Revision: https://reviews.llvm.org/D133868
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
0 files changed, 0 insertions, 0 deletions