[PATCH] D128572: [LoongArch] Add codegen support for division operations
WÁNG Xuěruì via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 2 17:33:21 PDT 2022
xen0n added inline comments.
================
Comment at: llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp:402
+ // Build instructions:
+ // div(or rem) $dst, $dividend, $divisor
+ // bnez $divisor, 8
----------------
didn't notice before; this should be "mod".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128572/new/
https://reviews.llvm.org/D128572
More information about the llvm-commits
mailing list