diff options
author | Philip Reames <preames@rivosinc.com> | 2022-06-20 07:41:18 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-06-20 07:45:21 -0700 |
commit | 820e84e05017d9c58074422e49dc59e27e1cc346 (patch) | |
tree | e9a2a204af7d1199730ba79248535dbb989df4fa /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 1c92e06ded2da33f9ad00305af281e47cf9c584f (diff) | |
download | llvm-820e84e05017d9c58074422e49dc59e27e1cc346.zip llvm-820e84e05017d9c58074422e49dc59e27e1cc346.tar.gz llvm-820e84e05017d9c58074422e49dc59e27e1cc346.tar.bz2 |
[RISCV] Assert initial load/store SEW is the EEW
In D127983, I had flipped from using the computed EEW to using the SEW value pulled from the VSETVLI when checking compatibility. This wasn't intentional, though thankfully it appears to be a non-functional difference. The new code does make a unchecked assumption that the initial SEW operand on the load/store is the EEW. This patch clarifies the assumption, and adds an assert to make sure this remains true.
Differential Revision: https://reviews.llvm.org/D128085
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions