diff options
author | Craig Topper <craig.topper@sifive.com> | 2025-04-01 08:04:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-01 08:04:05 -0700 |
commit | 19fb4b04a605c4a5759c72f61e8e5f5cac406a0b (patch) | |
tree | 6c0bb969977251cdd3591eb3804dd68387c09dd5 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 8741412bdfc0a60719f116add7d828694ef48c02 (diff) | |
download | llvm-19fb4b04a605c4a5759c72f61e8e5f5cac406a0b.zip llvm-19fb4b04a605c4a5759c72f61e8e5f5cac406a0b.tar.gz llvm-19fb4b04a605c4a5759c72f61e8e5f5cac406a0b.tar.bz2 |
[RISCV] Validate the end of register ranges in Zcmp register lists. (#133866)
We were only checking that the last register was a register, not that it
was a legal register for a register list. This caused the encoder
function to hit an llvm_unreachable.
The error messages are not good, but this only one of multiple things
that need to be fixed in this function. I'll focus on error messages
later once I have the other issues fixed.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions