[RISCV] Move the even register check for rv32zdinx later in the matching process.
And remove the IsRV64 checks for isGPRAsFPR and isGPRPF64AsFPR. Overall I think this results in a better diagnostic experience. We now do a better job of matching Zdinx instructions even if the registers aren't correct and report an error for missing features like RV64. Unfortunately, this makes it difficult to recover the error location for the invalid odd register when we do report it. But to make up for it, I gave a more specific error message. It doesn't look like binutils gives any warning or error for odd registers. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D142997
Loading
Please sign in to comment