Fix invalid RISCV-like MI being emitted for performing the not operation: the LoongArch xori zero-extends the immediate, hence is not equivalent to RISCV xori. The LoongArch not is a nor with zero.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for the catch! Maybe we've read too much RISCV assembly to notice this. /facepalms
BTW I've edited the patch title and summary for you. Please check if I did it right.