mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 07:06:05 +00:00

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.