[PATCH] D120329: [SelectionDAG] Emit calls to __divei4 and friends for division/remainder of large integers

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 23 03:40:30 PST 2022


LuoYuanke added inline comments.


================
Comment at: llvm/test/CodeGen/X86/udivmodei5.ll:98
+; X64-NEXT:    callq __udivei4 at PLT
+; X64-NEXT:    movq {{[0-9]+}}(%rsp), %rcx
+; X64-NEXT:    andl $1, %ecx
----------------
Is the result returned as value or from a pointer?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120329



More information about the llvm-commits mailing list