[PATCH] D127203: [LoongArch] Add codegen support for the bitwise binary operations and part of other operations

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 23:54:17 PDT 2022


xen0n added a comment.

Okay. I've checked the QEMU sources for MOVCF2GR <https://github.com/qemu/qemu/blob/b7dabd5624326b116d6147c659de22037f357cf8/target/loongarch/insn_trans/trans_fmov.c.inc#L143-L148>, it seems the English translation is the accurate one, and the Chinese original is ambiguous... Actually, according to common sense, one really doesn't want to depend on, and write to the same GPR in one single insn either. So the removal of andi is correct optimization.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127203/new/

https://reviews.llvm.org/D127203



More information about the llvm-commits mailing list