[PATCH] D135525: [LoongArch] Add codegen support for atomicrmw umin/umax operation on LA64
Xi Ruoyao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 8 23:32:02 PDT 2022
xry111 added inline comments.
================
Comment at: llvm/lib/Target/LoongArch/LoongArchExpandAtomicPseudoInsts.cpp:417
+ .addImm(0);
+ BuildMI(LoopTailMBB, DL, TII->get(LoongArch::BEQ))
+ .addReg(Scratch1Reg)
----------------
I think it's better to use BEQZ here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135525/new/
https://reviews.llvm.org/D135525
More information about the llvm-commits
mailing list